summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python/Python/getcompiler.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2018-08-26 18:36:35 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2018-08-26 18:36:35 +0200
commit52b773d635aa7ffefac5f1e64ed97c3d67d34e5f (patch)
treea8b5e5c71b8997a2b5d9ff599c40e1ecc07c2173 /sys/src/cmd/python/Python/getcompiler.c
parent5c326d9f3566be32af7b18d2638fd8d26b169e31 (diff)
ip/dhcpd: reject bogus requests, handle multiple ether= attributes in ndb, cleanup
unless relay agent (gaddr) is specified, dhcp requests need to taget a local ip address on the incoming interface or broadcast. clients might have multiple ethernet interfaces, so we need to check if any of the ether= attributes in ndb matches. this is done by passing lookupip() the attribute name and a expected value and if a match is found, set Info.indb = 1. remove tohex(), use encodefmt instead. avoid dynamcic allocation. include interface device in log messages.
Diffstat (limited to 'sys/src/cmd/python/Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions