aboutsummaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2001-12-26 20:28:41 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2001-12-26 20:28:41 +0000
commit572310c609dcd4c9fc2550339b4b872d3ff1921d (patch)
tree970b558a521f5bde70c5193f2c8608d2aabc6077 /sys/net
parent18f29213d4ea62b3fa18688416f069608a2d895d (diff)
Notes
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_spppsubr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 7c8cbc5f494f..0fcb0e5a735e 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1024,7 +1024,8 @@ sppp_ioctl(struct ifnet *ifp, IOCTL_CMD_T cmd, void *data)
break;
case SIOCSIFADDR:
- if_up(ifp);
+ /* set the interface "up" when assigning an IP address */
+ ifp->if_flags |= IFF_UP;
/* fall through... */
case SIOCSIFFLAGS: