socsvn commit: r307559 - soc2016/yuanxunzhang/head/usr.sbin/eaps
yuanxunzhang at FreeBSD.org
yuanxunzhang at FreeBSD.org
Sun Aug 14 04:25:55 UTC 2016
Author: yuanxunzhang
Date: Sun Aug 14 04:25:54 2016
New Revision: 307559
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=307559
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:13:08 2016 (r307558)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c Sun Aug 14 04:25:54 2016 (r307559)
@@ -130,7 +130,6 @@
static void
create_domain(int argc, char **argv, int s)
{
- int error = 0;
char *domain_name = *(++argv);
printf("Create eaps %s!\n", domain_name);
@@ -151,8 +150,6 @@
if (ioctl(s, SIOCIFCREATE2, &ifr) < 0)
err(1, "SIOCIFCREATE2");
-
- exit(error);
}
static void
More information about the svn-soc-all
mailing list