Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108299207
D48621.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
672 B
Referenced Files
None
Subscribers
None
D48621.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D48621: if_vxlan(4): Prefer SYSCTL_INT over TUNABLE_INT
Attached
Detach File
Event Timeline
Log In to Comment