Date: Wed, 15 Apr 2009 20:53:34 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r191121 - head/sbin/ifconfig Message-ID: <200904152053.n3FKrYAx054453@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brooks Date: Wed Apr 15 20:53:34 2009 New Revision: 191121 URL: http://svn.freebsd.org/changeset/base/191121 Log: The structs ifaliasreq and in_aliasreq have exactly the same layout and member names, but we really do mean to use in_aliasreq here. MFC after: 1 week Modified: head/sbin/ifconfig/af_inet.c Modified: head/sbin/ifconfig/af_inet.c ============================================================================== --- head/sbin/ifconfig/af_inet.c Wed Apr 15 20:49:59 2009 (r191120) +++ head/sbin/ifconfig/af_inet.c Wed Apr 15 20:53:34 2009 (r191121) @@ -52,7 +52,7 @@ static const char rcsid[] = #include "ifconfig.h" -static struct ifaliasreq in_addreq; +static struct in_aliasreq in_addreq; static struct ifreq in_ridreq; static void @@ -169,7 +169,7 @@ in_status_tunnel(int s) static void in_set_tunnel(int s, struct addrinfo *srcres, struct addrinfo *dstres) { - struct ifaliasreq addreq; + struct in_aliasreq addreq; memset(&addreq, 0, sizeof(addreq)); strncpy(addreq.ifra_name, name, IFNAMSIZ);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904152053.n3FKrYAx054453>