summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/sd-bus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-04 22:20:22 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-05 01:40:51 +0100
commit146d47736780e06f618379a6c9f46edcf46803a7 (patch)
treee16a7a7a09e6d96a38ec0afa11f3098d069b7487 /src/libsystemd/sd-bus/sd-bus.c
parent8531ae707d4d0203e83304d4af948b8169a5fce1 (diff)
machined,bus-proxy: fix connecting to containers
Diffstat (limited to 'src/libsystemd/sd-bus/sd-bus.c')
-rw-r--r--src/libsystemd/sd-bus/sd-bus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c
index f87c31651b..a8d03b8ac4 100644
--- a/src/libsystemd/sd-bus/sd-bus.c
+++ b/src/libsystemd/sd-bus/sd-bus.c
@@ -952,7 +952,7 @@ static int bus_parse_next_address(sd_bus *b) {
break;
} else if (startswith(a, "x-machine-unix:")) {
- a += 17;
+ a += 15;
r = parse_container_unix_address(b, &a, &guid);
if (r < 0)
return r;
@@ -960,7 +960,7 @@ static int bus_parse_next_address(sd_bus *b) {
break;
} else if (startswith(a, "x-machine-kernel:")) {
- a += 19;
+ a += 17;
r = parse_container_kernel_address(b, &a, &guid);
if (r < 0)
return r;