NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/51622 (NPF startup fails when using dhcpcd for inet4 and inet6)

Thanks for the update Max, however judging from the manual pages, "ifaddrs()" has only been introduced in NetBSD 8, so it doesn't resolve this issue for NetBSD 7.

Using the static address lists are fine for my purposes, provided that the boot process can ensure that DHCP addresses are assigned BEFORE npf is started.

Enabling the dhcpcd "waitip" option (which requires the patch I backported from -current) means that dhcpcd will wait for the DHCP addresses to be assigned before continuing the boot process, and so resolves this issue on NetBSD 7.



On Mon, 3 Sep 2018 at 16:29 <> wrote:
Synopsis: NPF startup fails when using dhcpcd for inet4 and inet6

State-Changed-From-To: open->feedback
State-Changed-When: Mon, 03 Sep 2018 06:29:51 +0000
Use ifaddrs(vioif0) instead of inet4(vioif0). inet4()/inet6() are static
lists, ifaddrs() is a dynamic list.


Timshel Knoll-Miller
Fluent Development
15 Manna Lane, Cudgee VIC 3265
p: +61 (03) 5537 9122 m: 0434 864 908e: w:

Home | Main Index | Thread Index | Old Index