From 9efa99339b99e740a5bcfea8161d7cdfa8e28538 Mon Sep 17 00:00:00 2001 From: Daniel Lenski Date: Wed, 13 May 2020 11:07:43 -0700 Subject: [PATCH] second time's a charm? Signed-off-by: Daniel Lenski --- ppp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.49.0