diff options
Diffstat (limited to 'SAMBA_3_2_MERGE/source/lib/util.c')
-rw-r--r-- | SAMBA_3_2_MERGE/source/lib/util.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/SAMBA_3_2_MERGE/source/lib/util.c b/SAMBA_3_2_MERGE/source/lib/util.c index 0a8f7c9762c..95edf5482b7 100644 --- a/SAMBA_3_2_MERGE/source/lib/util.c +++ b/SAMBA_3_2_MERGE/source/lib/util.c @@ -1076,6 +1076,16 @@ void zero_ip(struct in_addr *ip) return; } +/******************************************************************* + Set an IP to 255.255.255.255 +******************************************************************/ + +void one_ip(struct in_addr *ip) +{ + *ip = inet_makeaddr(0xffffffff,0xffffffff); + return; +} + #if (defined(HAVE_NETGROUP) && defined(WITH_AUTOMOUNT)) /****************************************************************** Remove any mount options such as -rsize=2048,wsize=2048 etc. |