]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
Linux: Support wireless IP roaming
authorRoy Marples <roy@marples.name>
Sat, 12 Dec 2020 13:12:26 +0000 (13:12 +0000)
committerRoy Marples <roy@marples.name>
Sat, 12 Dec 2020 13:20:19 +0000 (13:20 +0000)
commit81396853be6df3e83b16eee7f99828ace1f47688
tree3ebc0ca3ab00a3e6b93afebf80eedfeba59f9899
parente99249b6083c5f1b2f58c6b2a8fdee080d6998bd
Linux: Support wireless IP roaming

This is achieved by checking that the interface is wireless,
IFF_UP and IFF_LOWER_UP are present, but IFF_RUNNING is missing.

This gives exactly the same support as modern NetBSD when carrier
loss is detected, but without the address verifications when the
carrier comes back as that needs to be handled in the kernel.

While IP setup is maintained, other configuration data is discarded.
Note that this should be improved in the future.

Thanks to Boris Krasnovskiy <borkra@gmail.com> for helping with this.
src/dhcpcd.c
src/if-bsd.c
src/if-linux.c
src/if-sun.c
src/if.h
src/ipv6nd.c