Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2016 05:06:51 GMT
From:      yuanxunzhang@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r307770 - soc2016/yuanxunzhang/head/usr.sbin/eaps
Message-ID:  <201608170506.u7H56pG2086123@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuanxunzhang
Date: Wed Aug 17 05:06:51 2016
New Revision: 307770
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=307770

Log:
  EAPS: query eaps domian status

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	Wed Aug 17 04:41:47 2016	(r307769)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c	Wed Aug 17 05:06:51 2016	(r307770)
@@ -183,6 +183,8 @@
 	strlcpy(er.eaps_ifname, domain_name, sizeof(er.eaps_ifname));
 	if (ioctl(s, SIOCSEAPSDOMAIN, &er) < 0)
 		err(1, "SIOCSEAPSDOMAIN");
+
+	exit(error);
 }
 
 static void



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