diff options
author | Ole Mathias Heggem <olemathias.aa.heggem@gmail.com> | 2023-04-26 21:27:51 +0200 |
---|---|---|
committer | Ole Mathias Heggem <olemathias.aa.heggem@gmail.com> | 2023-04-26 21:27:51 +0200 |
commit | 9dc4d7eedb7ddd89d1e95e3fd55ccffd30a3e0df (patch) | |
tree | 0e03c243eb2ae0c79a267526895722993cc1512d /tools/dhcpns/config/dhcp4.py | |
parent | 016bebe4e781153c4ed0a0129f4949317d7dddf9 (diff) |
tg23 dhcpns dump
Diffstat (limited to 'tools/dhcpns/config/dhcp4.py')
-rw-r--r-- | tools/dhcpns/config/dhcp4.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dhcpns/config/dhcp4.py b/tools/dhcpns/config/dhcp4.py index d1a779d..eeabe5e 100644 --- a/tools/dhcpns/config/dhcp4.py +++ b/tools/dhcpns/config/dhcp4.py @@ -270,7 +270,7 @@ def subnet(vlan, prefix, domain_name, vlan_domain_name): def fap(vlan, prefix): network = ipaddress.ip_network(prefix.prefix) gw, start_ip, end_ip = network[1], network[( - math.ceil(network.num_addresses / 2))], network[-2] + math.ceil(network.num_addresses - 50))], network[-2] return { "id": prefix.id, |