Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F97871644
D33718.id100969.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
898 B
Referenced Files
None
Subscribers
None
D33718.id100969.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D33718: Fix kernel build if neither INET or INET6 is enabled
Attached
Detach File
Event Timeline
Log In to Comment