vxlan: port module param should be ushort
[deliverable/linux.git] / drivers / net / vxlan.c
index 117b7fa6f33bee60491faba70b8964c97b193164..f89a58bb3f267b79ac90066645679075fbc775ce 100644 (file)
@@ -70,8 +70,8 @@ struct vxlanhdr {
  * The IANA assigned port is 4789, but the Linux default is 8472
  * for compatability with early adopters.
  */
-static unsigned int vxlan_port __read_mostly = 8472;
-module_param_named(udp_port, vxlan_port, uint, 0444);
+static unsigned short vxlan_port __read_mostly = 8472;
+module_param_named(udp_port, vxlan_port, ushort, 0444);
 MODULE_PARM_DESC(udp_port, "Destination UDP port");
 
 static bool log_ecn_error = true;
This page took 0.027448 seconds and 5 git commands to generate.