svn commit: samba r13504 - in branches/SAMBA_4_0/source/lib/netif: .
tridge at samba.org
tridge at samba.org
Wed Feb 15 02:56:32 GMT 2006
Author: tridge
Date: 2006-02-15 02:56:31 +0000 (Wed, 15 Feb 2006)
New Revision: 13504
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13504
Log:
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
Modified:
branches/SAMBA_4_0/source/lib/netif/interface.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/netif/interface.c
===================================================================
--- branches/SAMBA_4_0/source/lib/netif/interface.c 2006-02-15 02:07:17 UTC (rev 13503)
+++ branches/SAMBA_4_0/source/lib/netif/interface.c 2006-02-15 02:56:31 UTC (rev 13504)
@@ -39,6 +39,9 @@
static struct interface *local_interfaces;
#define ALLONES ((uint32_t)0xFFFFFFFF)
+/*
+ address construction based on a patch from fred at datalync.com
+*/
#define MKBCADDR(_IP, _NM) ((_IP & _NM) | (_NM ^ ALLONES))
#define MKNETADDR(_IP, _NM) (_IP & _NM)
More information about the samba-cvs
mailing list