summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/netif/interface.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/netif/interface.c b/source4/lib/netif/interface.c
index 1135bbf868..2a0e3642fe 100644
--- a/source4/lib/netif/interface.c
+++ b/source4/lib/netif/interface.c
@@ -39,6 +39,9 @@ struct interface {
static struct interface *local_interfaces;
#define ALLONES ((uint32_t)0xFFFFFFFF)
+/*
+ address construction based on a patch from fred@datalync.com
+*/
#define MKBCADDR(_IP, _NM) ((_IP & _NM) | (_NM ^ ALLONES))
#define MKNETADDR(_IP, _NM) (_IP & _NM)