From 0d084321c47fcd5a73af7c95ba2e5e4910bb2fe9 Mon Sep 17 00:00:00 2001 From: ume Date: Fri, 28 Mar 2003 18:23:43 +0000 Subject: If IPCP is disabled, susccess of IPV6CP negotiation is sufficient to communicate by IPv6. So, the prompt should be `PPP' rather than `PPp'. --- usr.sbin/ppp/prompt.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'usr.sbin') 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) -- cgit v1.1