Treat IPv4 subnet masks as distinct from addresses
[metze/wireshark/wip.git] / epan / dissectors / packet-capwap.c
index 35eade06252da1f8d1b7f35dd577f35591464e31..1ee2463f6652f248a9fe57c76c3567632dce0a16 100644 (file)
@@ -5424,7 +5424,7 @@ proto_register_capwap_control(void)
         },
         { &hf_capwap_fortinet_cfg_mask,
             { "Mask", "capwap.control.fortinet.cfg.mask",
-              FT_IPv4, BASE_NONE, NULL, 0x0,
+              FT_IPv4, BASE_NETMASK, NULL, 0x0,
               NULL, HFILL }
         },
         { &hf_capwap_fortinet_split_tun_cfg_enable_local_subnet,
@@ -5583,7 +5583,7 @@ proto_register_capwap_control(void)
         },
         { &hf_capwap_cisco_ap_static_ip_netmask,
             { "Netmask", "capwap.control.cisco.ap_static_ip.netmask",
-              FT_IPv4, BASE_NONE, NULL, 0x0,
+              FT_IPv4, BASE_NETMASK, NULL, 0x0,
               NULL, HFILL }
         },
         { &hf_capwap_cisco_ap_static_ip_gateway,