mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-24 21:50:34 +01:00
merge: branch 'rr/fix-create-and-realize'
device: fix vxlan create_and_realize https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2363
This commit is contained in:
commit
90aaa643b7
1 changed files with 2 additions and 2 deletions
|
|
@ -176,14 +176,14 @@ create_and_realize(NMDevice *device,
|
|||
if (str) {
|
||||
if (!nm_inet_parse_bin(AF_INET, str, NULL, &props.local)
|
||||
&& !nm_inet_parse_bin(AF_INET6, str, NULL, &props.local6))
|
||||
return FALSE;
|
||||
return nm_assert_unreachable_val(FALSE);
|
||||
}
|
||||
|
||||
str = nm_setting_vxlan_get_remote(s_vxlan);
|
||||
if (str) {
|
||||
if (!nm_inet_parse_bin(AF_INET, str, NULL, &props.group)
|
||||
&& !nm_inet_parse_bin(AF_INET6, str, NULL, &props.group6))
|
||||
return FALSE;
|
||||
return nm_assert_unreachable_val(FALSE);
|
||||
}
|
||||
|
||||
props.tos = nm_setting_vxlan_get_tos(s_vxlan);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue