From: Daniel Lenski Date: Wed, 13 May 2020 18:07:43 +0000 (-0700) Subject: second time's a charm? X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9efa99339b99e740a5bcfea8161d7cdfa8e28538;p=users%2Fdwmw2%2Fopenconnect.git second time's a charm? Signed-off-by: Daniel Lenski --- diff --git a/ppp.c b/ppp.c index 609277ee..598c39b4 100644 --- a/ppp.c +++ b/ppp.c @@ -157,7 +157,7 @@ static int unhdlc_in_place(struct openconnect_info *vpninfo, unsigned char *byte } static const char *ppps_names[] = { "DEAD", "ESTABLISH", "OPENED", "AUTHENTICATE", "NETWORK", "TERMINATE" }; -static const char *encap_names[] = { NULL, +static const char *encap_names[PPP_ENCAP_MAX+1] = { NULL, "F5", "F5 HDLC", "FORTINET HDLC" }; static const char *lcp_names[] = { NULL, "Configure-Request", "Configure-Ack",