From 8c7a593bcd5a30e47d1f062bfb9ca7d5118fe459 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 15 Feb 2006 02:56:31 +0000 Subject: r13504: add back in a comment noting fred as the contributor of the address calculation code. This was originally done in 1997, and has been morphed a lot since then, but fred should still get credit (This used to be commit 172e41596fb3b4d2768d6885aea43295cc2f81c1) --- source4/lib/netif/interface.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4') 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) -- cgit