From 8a436d5103e7d667d92795e3dd00a4fb05ba1815 Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Sun, 8 Mar 2015 23:36:28 +0100 Subject: [PATCH] PPP, IPV6CP, code cleaning on VJ support --- src/netif/ppp/ipv6cp.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/netif/ppp/ipv6cp.c b/src/netif/ppp/ipv6cp.c index 44116953..99070aec 100644 --- a/src/netif/ppp/ipv6cp.c +++ b/src/netif/ppp/ipv6cp.c @@ -984,9 +984,7 @@ static int ipv6cp_reqci(fsm *f, u_char *inp, int *len, int reject_if_disagree) { } GETSHORT(cishort, p); IPV6CPDEBUG(("(%d)", cishort)); -#endif /* IPV6CP_COMP */ -#ifdef IPV6CP_COMP if (!(cishort == IPV6CP_COMP)) { orc = CONFREJ; break; @@ -995,10 +993,7 @@ static int ipv6cp_reqci(fsm *f, u_char *inp, int *len, int reject_if_disagree) { ho->neg_vj = 1; ho->vj_protocol = cishort; break; -#else - orc = CONFREJ; - break; -#endif +#endif /* IPV6CP_COMP */ default: orc = CONFREJ;