diff options
| author | Michael Biebl <biebl@debian.org> | 2026-07-03 19:53:18 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2026-07-03 19:53:18 +0200 |
| commit | 537bfce2bda471c92caabd388589230200891509 (patch) | |
| tree | aedeccfaf0ba52c238ecf51fc009c0db5d4b60f0 /src/nmcli/general.c | |
| parent | 869e9027026cdbb15d4e4a6327ff41d2697858eb (diff) | |
New upstream version 1.58~rc1 upstream/1.58_rc1
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 |