diff options
| author | Michael Biebl <biebl@debian.org> | 2023-03-09 19:06:14 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2023-03-09 19:06:14 +0100 |
| commit | dfaaf221cfee4ffcc507d793dae051d402646679 (patch) | |
| tree | c218fc9b1ef10cfa7d2acf0ce401b6d97db2401f /src/core/platform/tests/test-common.c | |
| parent | b22a7b55d0bc5a7999dccaeacdde745f5ace9d66 (diff) | |
New upstream version 1.42.4 upstream/1.42.4
Diffstat (limited to 'src/core/platform/tests/test-common.c')
| -rw-r--r-- | src/core/platform/tests/test-common.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/platform/tests/test-common.c b/src/core/platform/tests/test-common.c index a37982fc..571fedfe 100644 --- a/src/core/platform/tests/test-common.c +++ b/src/core/platform/tests/test-common.c @@ -1891,9 +1891,13 @@ nmtstp_ip4_address_add(NMPlatform *platform, external_command, TRUE, ifindex, - (NMIPAddr *) &address, + &((NMIPAddr){ + .addr4 = address, + }), plen, - (NMIPAddr *) &peer_address, + &((NMIPAddr){ + .addr4 = peer_address, + }), lifetime, preferred, flags, |