#define PPP_ENCAP_F5 1 /* F5 BigIP no HDLC */
#define PPP_ENCAP_F5_HDLC 2 /* F5 BigIP HDLC */
#define PPP_ENCAP_FORTINET_HDLC 3 /* Fortinet HDLC */
+#define PPP_ENCAP_MAX PPP_ENCAP_FORTINET_HDLC
#define COMPR_DEFLATE (1<<0)
#define COMPR_LZS (1<<1)
}
static const char *ppps_names[] = { "DEAD", "ESTABLISH", "OPENED", "AUTHENTICATE", "NETWORK", "TERMINATE" };
-static const char *encap_names[] = { NULL, "F5", "F5 HDLC" };
+static const char *encap_names[PPPS_ENCAP_MAX] = { NULL,
+ "F5", "F5 HDLC", "FORTINET HDLC" };
static const char *lcp_names[] = { NULL,
"Configure-Request", "Configure-Ack",
"Configure-Nak", "Configure-Reject",