diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1998-03-20 03:02:18 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1998-03-20 03:02:18 +0000 |
commit | e93592db59a45b754acf3d89c711bcaa2d52ded3 (patch) | |
tree | accbd5601cf9ed9526d3a66735c5d342ac2c5c8c /usr.sbin | |
parent | e5754a8b88eab686c52ba83a1fdbdd5b879d8dd4 (diff) |
ifaliases "aware".
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/mrouted/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/mrouted/config.c b/usr.sbin/mrouted/config.c index 39d8f5c0db7..ac7b7c817fc 100644 --- a/usr.sbin/mrouted/config.c +++ b/usr.sbin/mrouted/config.c @@ -78,6 +78,7 @@ config_vifs_from_kernel() * valid subnet number, or whose address is of the form {subnet,0} * or {subnet,-1}. */ + ((struct sockaddr_in *)&ifr.ifr_addr)->sin_addr.s_addr = addr; if (ioctl(udp_socket, SIOCGIFNETMASK, (char *)&ifr) < 0) log(LOG_ERR, errno, "ioctl SIOCGIFNETMASK for %s", ifr.ifr_name); mask = ((struct sockaddr_in *)&ifr.ifr_addr)->sin_addr.s_addr; |