summaryrefslogtreecommitdiffstats
path: root/src/machine
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-01-10 11:17:26 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-01-10 11:19:15 +0100
commit12845a91b5c6360ab4a0dd04ea836d4bc9eaeba4 (patch)
tree9e82f1ed6f3f18f2787f2a8ffdda485f178ce80f /src/machine
parenttree-wide: use table_log_add_error() (diff)
downloadsystemd-12845a91b5c6360ab4a0dd04ea836d4bc9eaeba4.tar.xz
systemd-12845a91b5c6360ab4a0dd04ea836d4bc9eaeba4.zip
machinectl: do not truncate addresses when --full is specified
Diffstat (limited to 'src/machine')
-rw-r--r--src/machine/machinectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index 2c2b13b86f..4b4437f91d 100644
--- a/src/machine/machinectl.c
+++ b/src/machine/machinectl.c
@@ -341,7 +341,7 @@ static int list_machines(int argc, char *argv[], void *userdata) {
0,
"",
" ",
- arg_addrs,
+ arg_full ? ALL_IP_ADDRESSES : arg_addrs,
&addresses);
r = table_add_many(table,