Skip to content

Commit

Permalink
bring sec* interface to IFF_UP, we are willing to receive traffic on
Browse files Browse the repository at this point in the history
ipsec tunnel.
  • Loading branch information
itojun committed Jul 28, 2001
1 parent 791bd4d commit f4b3f3f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kame/sys/net/if_sec.c
@@ -1,4 +1,4 @@
/* $KAME: if_sec.c,v 1.13 2001/07/27 18:45:13 itojun Exp $ */
/* $KAME: if_sec.c,v 1.14 2001/07/28 03:09:39 itojun Exp $ */

/*
* Copyright (C) 2001 WIDE Project. All rights reserved.
Expand Down Expand Up @@ -231,6 +231,9 @@ sec_establish(psrc, pdst)
}
}

/* bring the interface up, we are willing to receive traffic */
if_up(ifp);

((struct sec_softc *)ifp)->sc_refcnt++;
return ifp;
}
Expand Down

0 comments on commit f4b3f3f

Please sign in to comment.