Author: hannes
Date: Wed Dec 28 14:46:57 2005
New Revision: 10485
Modified:
trunk/libraries/koala/sources/examples/buddha/subnet.dylan
Log:
Bug: 7257
fix nasty bug, if a host has dhcp-end reserved, the last range didn't get
committed
Modified: trunk/libraries/koala/sources/examples/buddha/subnet.dylan
==============================================================================
--- trunk/libraries/koala/sources/examples/buddha/subnet.dylan (original)
+++ trunk/libraries/koala/sources/examples/buddha/subnet.dylan Wed Dec 28
14:46:57 2005
@@ -72,7 +72,7 @@
x.subnet = this-subnet
end, *config*.hosts))
let host-ip = host.ipv4-address;
- if ((host-ip > start-ip) & (host-ip < end-ip))
+ if ((host-ip > start-ip) & (host-ip <= end-ip))
res := add!(res, pair(start-ip, host-ip - 1));
end;
if (host-ip >= start-ip)
--
Gd-chatter mailing list
Gd-chatter@xxxxxxxxxxxxxxxx
https://gauss.gwydiondylan.org/mailman/listinfo/gd-chatter
|