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.

Cheers,

Timshel



On Mon, 3 Sep 2018 at 16:29 <maxv%netbsd.org@localhost> wrote:
Synopsis: NPF startup fails when using dhcpcd for inet4 and inet6

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



--
fluent-icon-grey-90x90.png

Timshel Knoll-Miller
Co-founder
Fluent Development
15 Manna Lane, Cudgee VIC 3265
p: +61 (03) 5537 9122 m: 0434 864 908e: timshel%fluentdevelopment.com.au@localhost w: fluentdevelopment.com.au



Home | Main Index | Thread Index | Old Index