socsvn commit: r308212 - soc2016/yuanxunzhang/head/usr.sbin/eaps
yuanxunzhang at FreeBSD.org
yuanxunzhang at FreeBSD.org
Mon Aug 22 20:22:13 UTC 2016
Author: yuanxunzhang
Date: Mon Aug 22 20:22:12 2016
New Revision: 308212
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=308212
Log:
EAPS: implement add primary/secondary port interface
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 Mon Aug 22 20:20:30 2016 (r308211)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c Mon Aug 22 20:22:12 2016 (r308212)
@@ -464,7 +464,7 @@
}
strlcpy(es.ifname, domain_name, sizeof(es.ifname));
- strlcpy(es.p_port, port_name, sizeof(port_name));
+ strlcpy(es.p_port, port_name, sizeof(es.p_port));
if (ioctl(s, SIOCESAPSPRIMARY, &es) != 0)
err(1, "SIOCESAPSPRIMARY");
More information about the svn-soc-all
mailing list