]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[ipv6] Ignore SLAAC on prefixes with an incompatible prefix length
authorMichael Brown <mcb30@ipxe.org>
Tue, 13 Sep 2022 12:25:19 +0000 (13:25 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 13 Sep 2022 12:25:19 +0000 (13:25 +0100)
commit8f5fc161436a020ba65d07f91f62d34f4c22db61
treedfca92e23db01fdea59aef47e3dbe567eb2d5580
parentbc19aeca5f6c695ad3db0196057d155e4f64584e
[ipv6] Ignore SLAAC on prefixes with an incompatible prefix length

Experience suggests that routers are often misconfigured to advertise
SLAAC even on prefixes that do not have a SLAAC-compatible prefix
length.  iPXE will currently treat this as an error, resulting in the
prefix being ignored completely.

Handle this misconfiguration by ignoring the autonomous address flag
when the prefix length is unsuitable for SLAAC.

Reported-by: Malte Janduda <mail@janduda.net>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/ndp.c