From: Paul Mackerras Date: Sat, 6 Sep 2008 08:48:54 +0000 (+1000) Subject: Enable printing of MS-CHAP and MS-CHAPv2 auth options always X-Git-Tag: ppp-2.4.7~66 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=a131dc9d42bed343cd60c2487e558237a7e05222;p=ppp.git Enable printing of MS-CHAP and MS-CHAPv2 auth options always There's no need to have lcp_printpkt be ignorant of the MS-CHAP and MS-CHAPV2 options. Even if pppd doesn't support those protocols, it's still useful if lcp_printpkt can tell us that the peer is asking for them. And it's one less ifdef this way. Signed-off-by: Paul Mackerras --- diff --git a/pppd/lcp.c b/pppd/lcp.c index 995ba73..5c77490 100644 --- a/pppd/lcp.c +++ b/pppd/lcp.c @@ -2056,7 +2056,6 @@ lcp_printpkt(p, plen, printer, arg) printer(arg, " MD5"); ++p; break; -#ifdef CHAPMS case CHAP_MICROSOFT: printer(arg, " MS"); ++p; @@ -2066,7 +2065,6 @@ lcp_printpkt(p, plen, printer, arg) printer(arg, " MS-v2"); ++p; break; -#endif } } break;