dhcpv6: prevent network loop scenario
authorPaul Donald <[email protected]>
Mon, 17 Nov 2025 01:15:51 +0000 (02:15 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Tue, 18 Nov 2025 07:27:46 +0000 (08:27 +0100)
commit8c574bd2fe623cf8bb6e91f6f086e25a9f13e104
tree99d15d2ccd5d23e35cc14807874b65ed32e9f962
parent038a7bbfc30db68586d5fdd7727ce34ffba66353
dhcpv6: prevent network loop scenario

It's possible for odhcpd to talk with its (odhcp6c) self in a network loop
scenario with strange results. Prevent this by returning early.

Signed-off-by: Paul Donald <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/314
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/dhcpv6.c