diff --git a/usr.sbin/ppp/iface.c b/usr.sbin/ppp/iface.c index adf84ce1f12..586d3d27379 100644 --- a/usr.sbin/ppp/iface.c +++ b/usr.sbin/ppp/iface.c @@ -380,6 +380,8 @@ iface_Clear(struct iface *iface, struct ncp *ncp, int family, int how) s = &s6; break; #endif + default: + continue; } if (*s == -1 && (*s = ID0socket(af, SOCK_DGRAM, 0)) == -1)