networkd: VXLAN use correct type for VNI
This commit is contained in:
parent
4cc0fd7531
commit
8c32c5884d
|
@ -96,8 +96,8 @@ L2TPSession.Name, config_parse_l2tp_session_name,
|
||||||
Peer.Name, config_parse_ifname, 0, offsetof(Veth, ifname_peer)
|
Peer.Name, config_parse_ifname, 0, offsetof(Veth, ifname_peer)
|
||||||
Peer.MACAddress, config_parse_hwaddr, 0, offsetof(Veth, mac_peer)
|
Peer.MACAddress, config_parse_hwaddr, 0, offsetof(Veth, mac_peer)
|
||||||
VXCAN.Peer, config_parse_ifname, 0, offsetof(VxCan, ifname_peer)
|
VXCAN.Peer, config_parse_ifname, 0, offsetof(VxCan, ifname_peer)
|
||||||
VXLAN.VNI, config_parse_uint64, 0, offsetof(VxLan, vni)
|
VXLAN.VNI, config_parse_uint32, 0, offsetof(VxLan, vni)
|
||||||
VXLAN.Id, config_parse_uint64, 0, offsetof(VxLan, vni) /* deprecated */
|
VXLAN.Id, config_parse_uint32, 0, offsetof(VxLan, vni) /* deprecated */
|
||||||
VXLAN.Group, config_parse_vxlan_address, 0, offsetof(VxLan, group)
|
VXLAN.Group, config_parse_vxlan_address, 0, offsetof(VxLan, group)
|
||||||
VXLAN.Local, config_parse_vxlan_address, 0, offsetof(VxLan, local)
|
VXLAN.Local, config_parse_vxlan_address, 0, offsetof(VxLan, local)
|
||||||
VXLAN.Remote, config_parse_vxlan_address, 0, offsetof(VxLan, remote)
|
VXLAN.Remote, config_parse_vxlan_address, 0, offsetof(VxLan, remote)
|
||||||
|
|
|
@ -12,7 +12,7 @@ typedef struct VxLan VxLan;
|
||||||
struct VxLan {
|
struct VxLan {
|
||||||
NetDev meta;
|
NetDev meta;
|
||||||
|
|
||||||
uint64_t vni;
|
uint32_t vni;
|
||||||
|
|
||||||
int remote_family;
|
int remote_family;
|
||||||
int local_family;
|
int local_family;
|
||||||
|
|
Loading…
Reference in a new issue