diff options
| author | Michael Biebl <biebl@debian.org> | 2026-07-03 19:53:23 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2026-07-03 19:53:23 +0200 |
| commit | aa308069bebf2d5a3200728caa69a76137c03d8b (patch) | |
| tree | c0ba2281e801c4720a0d8a5e5ee943688234f088 /src/nmcli/general.c | |
| parent | 0a4b2c29da4ccf259bbcea3298d15abebb94348f (diff) | |
| parent | 537bfce2bda471c92caabd388589230200891509 (diff) | |
Update upstream source from tag 'upstream/1.58_rc1'
Update to upstream version '1.58~rc1' with Debian dir 451489c9234e2b6b7c2f41ca6670287ea3ac3efd
Diffstat (limited to 'src/nmcli/general.c')
| -rw-r--r-- | src/nmcli/general.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/nmcli/general.c b/src/nmcli/general.c index a2772ca3..11704020 100644 --- a/src/nmcli/general.c +++ b/src/nmcli/general.c @@ -1486,6 +1486,24 @@ ac_overview(NmCli *nmc, NMActiveConnection *ac) } } } + + { + NMIPConfig *ip4 = nm_active_connection_get_ip4_config(ac); + NMIPConfig *ip6 = nm_active_connection_get_ip6_config(ac); + const char *clat4; + const char *clat6; + const char *pref64; + + if (ip4 && ip6) { + clat4 = nm_ip_config_get_clat_address(ip4); + clat6 = nm_ip_config_get_clat_address(ip6); + pref64 = nm_ip_config_get_clat_pref64(ip6); + + if (clat4 && clat6 && pref64) { + nmc_print("\tclat inet4 %s inet6 %s pref64 %s\n", clat4, clat6, pref64); + } + } + } } void |