Reverse NULL check in krVPN6_change()
authortb <tb@openbsd.org>
Wed, 10 Aug 2022 14:21:24 +0000 (14:21 +0000)
committertb <tb@openbsd.org>
Wed, 10 Aug 2022 14:21:24 +0000 (14:21 +0000)
commit6330972769a361433bd99a7861420a652e154134
treef04185b912a179da45d250c2efa285045fc258b6
parent47bbf013c3a023c5a325ae968ca3b57a1e852f28
Reverse NULL check in krVPN6_change()

This matches the VPN4 code and avoids a NULL deref in the else branch.

ok claudio
usr.sbin/bgpd/kroute.c