Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Aug 2016 04:12:23 GMT
From:      yuanxunzhang@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r307557 - soc2016/yuanxunzhang/head/usr.sbin/eaps
Message-ID:  <201608140412.u7E4CNWi032204@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuanxunzhang
Date: Sun Aug 14 04:12:22 2016
New Revision: 307557
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=307557

Log:
  EAPS: check eaps domian name

Modified:
  soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c

Modified: soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c
==============================================================================
--- soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c	Sun Aug 14 04:08:04 2016	(r307556)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c	Sun Aug 14 04:12:22 2016	(r307557)
@@ -135,10 +135,11 @@
 
 	printf("Create eaps %s!\n", domain_name);
 
-	if (domain_name == null) {
+	// Check eaps domain name
+	if (domain_name == NULL) {
 		err(1, "EAPS domain name is NULL!");
 	}
-	
+
 	// Create EAPS interface
 	/* check and maybe load support for this interface */
 	load_module(eaps_ifname);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608140412.u7E4CNWi032204>