]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix FreeBSD/OpenBSD/NetBSD compiler warnings in get_default_gateway()
authorDavid Sommerseth <davids@redhat.com>
Mon, 21 Nov 2011 11:49:33 +0000 (12:49 +0100)
committerDavid Sommerseth <davids@redhat.com>
Mon, 21 Nov 2011 12:19:55 +0000 (13:19 +0100)
commit93626f2cf71b4803aa1248a928bfc1ac8c9da18b
tree877c379955c9cead592cc93120fc25fafe6eb349
parent354bc04286abe157f906309bb2ab463ac160c5a7
Fix FreeBSD/OpenBSD/NetBSD compiler warnings in get_default_gateway()

On these platforms (including DragonFly), get_default_gateway() would in some
cases return false.  As get_default_gateway() is defined as a void function, and
none of the callers expect a return value -> just return without any value.

Signed-off-by: David Sommerseth <davids@redhat.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
route.c