]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/network/netdev/netdev-gperf.gperf
network: make FooOverUDP.Protocol= support name of ipproto
[thirdparty/systemd.git] / src / network / netdev / netdev-gperf.gperf
index 1677e937b60ea74601f3e3bc895b9d95cb2a2022..fcd2ec2097babacc7b697b454135e5cac3615276 100644 (file)
@@ -75,7 +75,7 @@ Tunnel.IPv6RapidDeploymentPrefix,  config_parse_6rd_prefix,              0,
 Tunnel.ERSPANIndex,                config_parse_uint32,                  0,                             offsetof(Tunnel, erspan_index)
 Tunnel.SerializeTunneledPackets,   config_parse_tristate,                0,                             offsetof(Tunnel, gre_erspan_sequence)
 Tunnel.ISATAP,                     config_parse_tristate,                0,                             offsetof(Tunnel, isatap)
-FooOverUDP.Protocol,               config_parse_uint8,                   0,                             offsetof(FouTunnel, fou_protocol)
+FooOverUDP.Protocol,               config_parse_ip_protocol,             0,                             offsetof(FouTunnel, fou_protocol)
 FooOverUDP.Encapsulation,          config_parse_fou_encap_type,          0,                             offsetof(FouTunnel, fou_encap_type)
 FooOverUDP.Port,                   config_parse_ip_port,                 0,                             offsetof(FouTunnel, port)
 L2TP.TunnelId,                     config_parse_l2tp_tunnel_id,          0,                             offsetof(L2tpTunnel, tunnel_id)