summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2001-09-07 05:39:47 +0000
committerjlemon <jlemon@FreeBSD.org>2001-09-07 05:39:47 +0000
commitc5b125fd9c470012cdddcf6fc1488f62fccd8069 (patch)
tree7f9ba94e838075098b246d7979843335480e296b /sys/net
parentfad843fe5a1e0e1634a83728ae987d08b0235f0f (diff)
downloadFreeBSD-src-c5b125fd9c470012cdddcf6fc1488f62fccd8069.zip
FreeBSD-src-c5b125fd9c470012cdddcf6fc1488f62fccd8069.tar.gz
Fix another shortcircuit return() statement that I missed.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 5a2ad61..7ff94c7 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -713,7 +713,7 @@ ifaof_ifpforaddr(addr, ifp)
}
if (ifp->if_flags & IFF_POINTOPOINT) {
if (equal(addr, ifa->ifa_dstaddr))
- return (ifa);
+ goto done;
} else {
cp = addr->sa_data;
cp2 = ifa->ifa_addr->sa_data;
OpenPOWER on IntegriCloud