summaryrefslogtreecommitdiff
path: root/sys/netinet/in_var.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2010-11-17 19:25:50 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2010-11-17 19:25:50 +0000
commitfba69b74bcc33f33bfb568967517a2990fa781bd (patch)
tree719494fb31a98a3501e19952ec4c8b1b1c19845f /sys/netinet/in_var.h
parentfca6097ec78e2ba41a18ba185ebefad4abc48c50 (diff)
an extra parameter for in_ifinit, indicating wether the ifaddr passed to it
is new or an already existing one. for existing ones, call ifa_del first tested by many as part of a larger diff, ok claudio dlg krw sthen
Diffstat (limited to 'sys/netinet/in_var.h')
-rw-r--r--sys/netinet/in_var.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in_var.h b/sys/netinet/in_var.h
index f09b9b54644..ec3530d1d6a 100644
--- a/sys/netinet/in_var.h
+++ b/sys/netinet/in_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_var.h,v 1.15 2010/01/13 07:05:28 henning Exp $ */
+/* $OpenBSD: in_var.h,v 1.16 2010/11/17 19:25:49 henning Exp $ */
/* $NetBSD: in_var.h,v 1.16 1996/02/13 23:42:15 christos Exp $ */
/*
@@ -207,7 +207,7 @@ do { \
} while (/* CONSTCOND */ 0)
int in_ifinit(struct ifnet *,
- struct in_ifaddr *, struct sockaddr_in *, int);
+ struct in_ifaddr *, struct sockaddr_in *, int, int);
struct in_multi *in_addmulti(struct in_addr *, struct ifnet *);
void in_delmulti(struct in_multi *);
void in_ifscrub(struct ifnet *, struct in_ifaddr *);