diff --git a/ip/ipaddress.c b/ip/ipaddress.c index b055b68b..267ecb36 100644 --- a/ip/ipaddress.c +++ b/ip/ipaddress.c @@ -109,6 +109,7 @@ void print_link_flags(FILE *fp, unsigned flags, unsigned mdown) _PF(UP); _PF(LOWER_UP); _PF(DORMANT); + _PF(ECHO); #undef _PF if (flags) fprintf(fp, "%x", flags); diff --git a/lib/ll_proto.c b/lib/ll_proto.c index 1057ee3f..cdd1602e 100644 --- a/lib/ll_proto.c +++ b/lib/ll_proto.c @@ -84,6 +84,7 @@ __PF(DDCMP,ddcmp) __PF(WAN_PPP,wan_ppp) __PF(PPP_MP,ppp_mp) __PF(LOCALTALK,localtalk) +__PF(CAN,can) __PF(PPPTALK,ppptalk) __PF(TR_802_2,tr_802_2) __PF(MOBITEX,mobitex) @@ -94,7 +95,6 @@ __PF(ECONET,econet) #endif __PF(TIPC,tipc) __PF(AOE,aoe) -__PF(CAN,can) { 0x8100, "802.1Q" }, { ETH_P_IP, "ipv4" }, diff --git a/lib/ll_types.c b/lib/ll_types.c index d47dee7d..9d75bd26 100644 --- a/lib/ll_types.c +++ b/lib/ll_types.c @@ -70,6 +70,7 @@ __PF(X25,x25) #ifdef ARPHRD_HWX25 __PF(HWX25,hwx25) #endif +__PF(CAN,can) __PF(PPP,ppp) __PF(HDLC,hdlc) __PF(LAPB,lapb)