Page MenuHomeFreeBSD

D33718.id100969.diff
No OneTemporary

D33718.id100969.diff

diff --git a/sys/net/if_llatbl.c b/sys/net/if_llatbl.c
--- a/sys/net/if_llatbl.c
+++ b/sys/net/if_llatbl.c
@@ -443,7 +443,9 @@
llentry_print_buf(const struct llentry *lle, struct ifnet *ifp, int family,
char *buf, size_t bufsize)
{
+#if defined(INET) || defined(INET6)
char abuf[INET6_ADDRSTRLEN];
+#endif
const char *valid = (lle->r_flags & RLLE_VALID) ? "valid" : "no_l2";
const char *upper_str = rib_print_family(llentry_get_upper_family(lle, family));
diff --git a/sys/net/route/nhop_ctl.c b/sys/net/route/nhop_ctl.c
--- a/sys/net/route/nhop_ctl.c
+++ b/sys/net/route/nhop_ctl.c
@@ -830,7 +830,9 @@
char *
nhop_print_buf(const struct nhop_object *nh, char *buf, size_t bufsize)
{
+#if defined(INET) || defined(INET6)
char abuf[INET6_ADDRSTRLEN];
+#endif
struct nhop_priv *nh_priv = nh->nh_priv;
const char *upper_str = rib_print_family(nh->nh_priv->nh_upper_family);

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 2, 2:14 PM (3 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13294817
Default Alt Text
D33718.id100969.diff (898 B)

Event Timeline