aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6/nd6.h
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2016-03-17 19:01:44 +0000
committerMark Johnston <markj@FreeBSD.org>2016-03-17 19:01:44 +0000
commitff63037da171e11a927eea5b8fd93b7946e61fae (patch)
treef1a4a3a309fcccdeeb401a3627f503f301ed4bc2 /sys/netinet6/nd6.h
parent48cc2d5e22611c835382b77ce02b1f63e75cc6b9 (diff)
downloadsrc-ff63037da171e11a927eea5b8fd93b7946e61fae.tar.gz
src-ff63037da171e11a927eea5b8fd93b7946e61fae.zip
Modify defrouter_remove() to perform the router lookup before removal.
This allows some simplification of its callers. No functional change intended. Tested by: Larry Rosenman (as part of a larger change) MFC after: 1 month
Notes
Notes: svn path=/head/; revision=296991
Diffstat (limited to 'sys/netinet6/nd6.h')
-rw-r--r--sys/netinet6/nd6.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/nd6.h b/sys/netinet6/nd6.h
index 4c83467a7b6b..149e6f56b642 100644
--- a/sys/netinet6/nd6.h
+++ b/sys/netinet6/nd6.h
@@ -459,7 +459,7 @@ void defrouter_reset(void);
void defrouter_select(void);
void defrouter_ref(struct nd_defrouter *);
void defrouter_rele(struct nd_defrouter *);
-void defrouter_remove(struct nd_defrouter *);
+bool defrouter_remove(struct in6_addr *, struct ifnet *);
void defrouter_unlink(struct nd_defrouter *, struct nd_drhead *);
void defrouter_del(struct nd_defrouter *);
void prelist_remove(struct nd_prefix *);