mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 23:20:34 +01:00
platform: ignore errors adding IPv6 point-to-point address
For now, ignore them, as libnl does not support IPv6 PtP addresses and returns an error. In the future perhaps we'll want to add a host route for the peer instead of using the point-to-point address.
This commit is contained in:
parent
0b3fdd073e
commit
90782cf023
1 changed files with 2 additions and 1 deletions
|
|
@ -2274,7 +2274,8 @@ build_rtnl_addr (int family,
|
|||
auto_nl_addr struct nl_addr *nlpeer = nl_addr_build (family, peer_addr, addrlen);
|
||||
|
||||
nle = rtnl_addr_set_peer (rtnladdr, nlpeer);
|
||||
g_assert (!nle);
|
||||
/* IPv6 doesn't support peer addresses yet */
|
||||
g_assert (!nle || (nle == -NLE_AF_NOSUPPORT));
|
||||
}
|
||||
|
||||
rtnl_addr_set_prefixlen (rtnladdr, plen);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue