mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 08:10:08 +01:00
core: fix wrong check of gretap hardware length
GRETAP have an Ethernet-like hardware address.
Fixes: e2270040c0
This commit is contained in:
parent
a0f4f40215
commit
403b545ac6
1 changed files with 0 additions and 1 deletions
|
|
@ -3008,7 +3008,6 @@ nm_utils_get_ipv6_interface_identifier (NMLinkType link_type,
|
|||
out_iid->id_u8[0] |= 0x02;
|
||||
return TRUE;
|
||||
case NM_LINK_TYPE_GRE:
|
||||
case NM_LINK_TYPE_GRETAP:
|
||||
/* Hardware address is the network-endian IPv4 address */
|
||||
g_return_val_if_fail (hwaddr_len == 4, FALSE);
|
||||
addr = * (guint32 *) hwaddr;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue