r148: Ensure we do not dereference a null pointer when we return the user
[Samba/gebeck_regimport.git] / source3 / include / interfaces.h
blob3b786f1ebcbd4a3e065310de4782cd9fc3a945de
1 /*
2 This structure is used by lib/interfaces.c to return the list of network
3 interfaces on the machine
4 */
6 #define MAX_INTERFACES 128
8 struct iface_struct {
9 char name[16];
10 struct in_addr ip;
11 struct in_addr netmask;