@ -89,7 +89,7 @@
{ "help", do_help },
{ "help", do_help },
--- a/lib/utils.c
--- a/lib/utils.c
+++ b/lib/utils.c
+++ b/lib/utils.c
@@ -885,6 +885 ,7 @@ const char *rt_addr_n2a_r(int af, int le
@@ -983,6 +983 ,7 @@ const char *rt_addr_n2a_r(int af, int le
return inet_ntop(af, addr, buf, buflen);
return inet_ntop(af, addr, buf, buflen);
case AF_MPLS:
case AF_MPLS:
return mpls_ntop(af, addr, buf, buflen);
return mpls_ntop(af, addr, buf, buflen);
@ -97,14 +97,14 @@
case AF_IPX:
case AF_IPX:
return ipx_ntop(af, addr, buf, buflen);
return ipx_ntop(af, addr, buf, buflen);
case AF_DECnet:
case AF_DECnet:
@@ -894,6 +895 ,7 @@ const char *rt_addr_n2a_r(int af, int le
@@ -992,6 +993 ,7 @@ const char *rt_addr_n2a_r(int af, int le
memcpy(dna.a_addr, addr, 2);
memcpy(dna.a_addr, addr, 2);
return dnet_ntop(af, &dna, buf, buflen);
return dnet_ntop(af, &dna, buf, buflen);
}
}
+#endif
+#endif
case AF_PACKET:
case AF_PACKET:
return ll_addr_n2a(addr, len, ARPHRD_VOID, buf, buflen);
return ll_addr_n2a(addr, len, ARPHRD_VOID, buf, buflen);
default :
case AF_BRIDGE :
--- a/lib/Makefile
--- a/lib/Makefile
+++ b/lib/Makefile
+++ b/lib/Makefile
@@ -3,6 +3,10 @@ include ../config.mk
@@ -3,6 +3,10 @@ include ../config.mk