Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177573954
D48621.1794778830.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
672 B
Referenced Files
None
Subscribers
None
D48621.1794778830.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
@@ -429,9 +429,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_RDTUN,
+ &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_RDTUN,
+ &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
Sun, Nov 15, 9:40 PM (19 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41749203
Default Alt Text
D48621.1794778830.diff (672 B)
Attached To
Mode
D48621: if_vxlan(4): Prefer SYSCTL_INT over TUNABLE_INT
Attached
Detach File
Event Timeline