If isakmpd is started with -4 or -6, virtual_get_default() may
authorbluhm <bluhm@openbsd.org>
Tue, 22 Jul 2008 09:45:56 +0000 (09:45 +0000)
committerbluhm <bluhm@openbsd.org>
Tue, 22 Jul 2008 09:45:56 +0000 (09:45 +0000)
commitea54190e82662a5c895c614ab2ea0aa4c1ba05dc
tree49faba8b42d3604449300ffd8a5e003305dcde91
parentd118ad8ce3321970b3d3df13a18977a686db4206
If isakmpd is started with -4 or -6, virtual_get_default() may
return NULL.  This happens if isakmpd is configured for the other
address family.  Add a NULL pointer check and initialize rv.
ok hshoexer
sbin/isakmpd/udp.c