socsvn commit: r307557 - soc2016/yuanxunzhang/head/usr.sbin/eaps
yuanxunzhang at FreeBSD.org
yuanxunzhang at FreeBSD.org
Sun Aug 14 04:12:24 UTC 2016
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);
More information about the svn-soc-all
mailing list