summaryrefslogtreecommitdiff
path: root/sys/netatalk/at_control.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netatalk/at_control.c')
-rw-r--r--sys/netatalk/at_control.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netatalk/at_control.c b/sys/netatalk/at_control.c
index b43d14a98ce..7c70915179a 100644
--- a/sys/netatalk/at_control.c
+++ b/sys/netatalk/at_control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: at_control.c,v 1.16 2010/07/02 05:45:25 blambert Exp $ */
+/* $OpenBSD: at_control.c,v 1.17 2010/09/27 20:16:17 guenther Exp $ */
/*
* Copyright (c) 1990,1991 Regents of The University of Michigan.
@@ -190,8 +190,6 @@ at_control( cmd, data, ifp, p )
aa = aa0;
- ifa_add(ifp, (struct ifaddr *)aa);
-
/* FreeBSD found this. Whew */
aa->aa_ifa.ifa_refcnt++;
@@ -208,6 +206,8 @@ at_control( cmd, data, ifp, p )
aa->aa_flags |= AFA_PHASE2;
}
aa->aa_ifp = ifp;
+
+ ifa_add(ifp, (struct ifaddr *)aa);
} else {
at_scrub( ifp, aa );
}