* net.c (ax25_protocols): Decrement xlat size by one to account
for XLAT_END as other users of sorted xlats do.
Fixes: v4.25~28 "net: add support for AX.25 protocols and socket option names decoding"
case AF_AX25:
/* Those are not available in public headers. */
- printxval_searchn_ex(ARRSZ_PAIR(ax25_protocols), tcp->u_arg[2],
- "AX25_P_???", XLAT_STYLE_VERBOSE);
+ printxval_searchn_ex(ARRSZ_PAIR(ax25_protocols) - 1,
+ tcp->u_arg[2], "AX25_P_???",
+ XLAT_STYLE_VERBOSE);
break;
case AF_NETLINK: