Page MenuHomeFreeBSD

D48621.diff
No OneTemporary

D48621.diff

diff --git a/sys/net/if_vxlan.c b/sys/net/if_vxlan.c
--- a/sys/net/if_vxlan.c
+++ b/sys/net/if_vxlan.c
@@ -428,9 +428,11 @@
"Virtual eXtensible Local Area Network");
static int vxlan_legacy_port = 0;
-TUNABLE_INT("net.link.vxlan.legacy_port", &vxlan_legacy_port);
+SYSCTL_INT(_net_link_vxlan, OID_AUTO, legacy_port, CTLFLAG_RWTUN,
+ &vxlan_legacy_port, 0, "Use legacy port");
static int vxlan_reuse_port = 0;
-TUNABLE_INT("net.link.vxlan.reuse_port", &vxlan_reuse_port);
+SYSCTL_INT(_net_link_vxlan, OID_AUTO, reuse_port, CTLFLAG_RWTUN,
+ &vxlan_reuse_port, 0, "Re-use port");
/*
* This macro controls the default upper limitation on nesting of vxlan

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 4:17 PM (6 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16090873
Default Alt Text
D48621.diff (672 B)

Event Timeline