openbsd-ports/net/dhcpcd/patches
tb 78fa7ab8dc net/dhcpcd: fix a regression introduced in 9.4.0
Once every few minutes dhcpcd prints two lines into /var/log/messages:

dhcpcd[89340]: make_env: Undefined error: 0
dhcpcd[89340]: script_runreason: Undefined error: 0

Apparently OpenBSD allows interfaces with the same priority number whereas
NetBSD doesn't.  This would break the ordering used in the routes tree and
RB-tree insertion would fail.  The upstream fix sets errno to make the log
messages more meaningful and fixes RB-tree insertion. It also plugs a leak
in this error path.

Fix from https://roy.marples.name/archives/dhcpcd-discuss/0003426.html

ok sthen
2021-01-16 23:35:47 +00:00
..
patch-src_route_c net/dhcpcd: fix a regression introduced in 9.4.0 2021-01-16 23:35:47 +00:00
patch-src_script_c net/dhcpcd: fix a regression introduced in 9.4.0 2021-01-16 23:35:47 +00:00