diff options
author | ume <ume@FreeBSD.org> | 2003-03-28 18:23:43 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-03-28 18:23:43 +0000 |
commit | 0d084321c47fcd5a73af7c95ba2e5e4910bb2fe9 (patch) | |
tree | c8480e31682f8aa6c3cfc5d849a1ca30243b95bf /usr.sbin/ppp | |
parent | c269e60fb6b1b4c0f220e08bac1ce5ea8d524a0d (diff) | |
download | FreeBSD-src-0d084321c47fcd5a73af7c95ba2e5e4910bb2fe9.zip FreeBSD-src-0d084321c47fcd5a73af7c95ba2e5e4910bb2fe9.tar.gz |
If IPCP is disabled, susccess of IPV6CP negotiation is sufficient
to communicate by IPv6. So, the prompt should be `PPP' rather
than `PPp'.
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/prompt.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/ppp/prompt.c b/usr.sbin/ppp/prompt.c index 0931706..839e655 100644 --- a/usr.sbin/ppp/prompt.c +++ b/usr.sbin/ppp/prompt.c @@ -103,6 +103,11 @@ prompt_Display(struct prompt *p) if (p->bundle->ncp.ipcp.fsm.state == ST_OPENED) pconnect = "PPP"; +#ifndef NOINET6 + else if (!Enabled(p->bundle, OPT_IPCP) && + p->bundle->ncp.ipv6cp.fsm.state == ST_OPENED) + pconnect = "PPP"; +#endif else if (bundle_Phase(p->bundle) == PHASE_NETWORK) pconnect = "PPp"; else if (bundle_Phase(p->bundle) == PHASE_AUTHENTICATE) |