summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ifconfig/ifconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index 54e4b994150..28634bb5eb7 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.266 2013/07/10 07:46:10 mpi Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.267 2013/07/16 08:21:10 mpi Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -4216,7 +4216,7 @@ sppp_status(void)
return;
}
- if (spr.phase == PHASE_DEAD)
+ if (spr.cmd != SPPPIOGDEFS || spr.phase == PHASE_DEAD)
return;
printf("\tsppp: phase ");
switch (spr.phase) {