From a131dc9d42bed343cd60c2487e558237a7e05222 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Sat, 6 Sep 2008 18:48:54 +1000 Subject: [PATCH] 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 --- pppd/lcp.c | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.39.5