]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
linux: allow roaming without IFF_DORMANT
authorRoy Marples <roy@marples.name>
Thu, 27 Jun 2024 05:27:22 +0000 (06:27 +0100)
committerRoy Marples <roy@marples.name>
Thu, 27 Jun 2024 05:32:23 +0000 (06:32 +0100)
commitb6cbf299bcd9764d5746522b87eafa98dce93fa5
tree894e68776ce1c68d9b07377b169e3033548655f7
parentd451274d1aed45623c997b9bd6836b4dd76c3003
linux: allow roaming without IFF_DORMANT

IFF_DORMANT is apparently only set by supplicants.
For roaming without supplicants, we need to check that IFF_UP and
IFF_LOWER_UP are set, but IFF_RUNNING is not.

Thanks to Boris Krasnovskiy for the patch.
Fixes #335.

While here, remove our define if IFF_LOWER_UP as we can now include
linux/if.h
src/if-linux.c