summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2019-05-17 20:42:44 +0000
committerkrw <krw@openbsd.org>2019-05-17 20:42:44 +0000
commite8bab990985b2fbc3ce2b20fb1a70e38a89b1aa4 (patch)
tree2b2b423d4113c02147ca2d92001928bbaf2fafd9 /sys/dev/softraid.c
parentAdd realpath to regress (diff)
downloadwireguard-openbsd-e8bab990985b2fbc3ce2b20fb1a70e38a89b1aa4.tar.xz
wireguard-openbsd-e8bab990985b2fbc3ce2b20fb1a70e38a89b1aa4.zip
Don't put dhclient into a loop when interface-mtu is present
in a lease. dhclient.c r1.634 made every RTM_IFINFO restart the DHCP protocol and obtain a new/renewed lease. If the lease contained interface-mtu the interface MTU was set. An RTM_IFINFO is generated every time an interface MTU is set. So only set the interface MTU if it is different from the existing MTU. Fix using %d to print an unsigned value in passing. Noticed and fix inmproved & tested by Bj??rn Ketelaars while usihg the wifi on Dutch Railways.
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions