Fix the error path of the 'SIOCSIFMTU' pppoe_ioctl() case. Return error
authormvs <mvs@openbsd.org>
Sat, 9 Jul 2022 20:57:01 +0000 (20:57 +0000)
committermvs <mvs@openbsd.org>
Sat, 9 Jul 2022 20:57:01 +0000 (20:57 +0000)
commitf6281ee2123ae5550b6c244e483733da88b6f76c
treec2e83e7ad67389f3eb3ad76cbedaf2d7acdbfde4
parent2b3827ce7cc957662c5b78861d2a7bdaee1678cb
Fix the error path of the 'SIOCSIFMTU' pppoe_ioctl() case. Return error
value if the `error' is set instead of continue to sppp_ioctl().

ok bluhm@
sys/net/if_pppoe.c