Fix CARP build.

Reported by:	bz
This commit is contained in:
Robert Watson 2009-06-24 21:34:38 +00:00
parent e33ee9237e
commit 32187eb6d9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194912

View File

@ -1667,7 +1667,7 @@ carp_set_addr6(struct carp_softc *sc, struct sockaddr_in6 *sin6)
/* we have to do it by hands to check we won't match on us */
ia_if = NULL; own = 0;
TAILQ_FOREACH(ia6, &V_in6_ifaddrhead, ia_link) {
TAILQ_FOREACH(ia, &V_in6_ifaddrhead, ia_link) {
int i;
for (i = 0; i < 4; i++) {