diff options
author | jlemon <jlemon@FreeBSD.org> | 2001-09-07 05:39:47 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2001-09-07 05:39:47 +0000 |
commit | c5b125fd9c470012cdddcf6fc1488f62fccd8069 (patch) | |
tree | 7f9ba94e838075098b246d7979843335480e296b /sys/net | |
parent | fad843fe5a1e0e1634a83728ae987d08b0235f0f (diff) | |
download | FreeBSD-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.c | 2 |
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; |