diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-02 12:09:19 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-05-08 12:57:03 +0200 |
commit | 5a8b6ac4c0ea88bdab12349830985560c69cbf8c (patch) | |
tree | c9d71555f2ae3c0211c509ec6214dafa5245d0e8 /source4/lib/socket/netif.h | |
parent | 45e26fdeec4c6d3c4e75d648399ce2a8b3e26364 (diff) | |
download | samba-5a8b6ac4c0ea88bdab12349830985560c69cbf8c.tar.gz samba-5a8b6ac4c0ea88bdab12349830985560c69cbf8c.tar.bz2 samba-5a8b6ac4c0ea88bdab12349830985560c69cbf8c.zip |
s4-lib merge get_interfaces() from Samba3 to Samba4
Diffstat (limited to 'source4/lib/socket/netif.h')
-rw-r--r-- | source4/lib/socket/netif.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/lib/socket/netif.h b/source4/lib/socket/netif.h index 417c6e074f..6a06c4bf15 100644 --- a/source4/lib/socket/netif.h +++ b/source4/lib/socket/netif.h @@ -23,8 +23,10 @@ struct iface_struct { char name[16]; - struct in_addr ip; - struct in_addr netmask; + int flags; + struct sockaddr_storage ip; + struct sockaddr_storage netmask; + struct sockaddr_storage bcast; }; struct interface; |