diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2018-06-27 14:38:11 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2018-07-02 17:55:14 +0200 |
commit | 403b545ac6cf9ee6afd34280e677525ccb0dfd01 (patch) | |
tree | 7508f12cc476cbaab711d949a1294b7b8cdd8e95 | |
parent | a0f4f40215a333047b806c1ffed9b25b126bd8af (diff) | |
download | NetworkManager-403b545ac6cf9ee6afd34280e677525ccb0dfd01.tar.gz |
core: fix wrong check of gretap hardware length
GRETAP have an Ethernet-like hardware address.
Fixes: e2270040c0a25bee1549dda9054cca482b896819
-rw-r--r-- | src/nm-core-utils.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nm-core-utils.c b/src/nm-core-utils.c index 50e107ecda..a659fea564 100644 --- a/src/nm-core-utils.c +++ b/src/nm-core-utils.c @@ -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; |