summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/network-internal.c
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2015-10-22 20:41:50 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2015-10-22 20:41:50 +0300
commitb8c89d3c4255e1f2ad9bf49eabe89d50c419783e (patch)
tree102fa25c9691276d0fb0f72dc929b9e7860b2f55 /src/libsystemd-network/network-internal.c
parentac691d4abe0970e9255525d1cc6187e553639fea (diff)
parentcbe91b3cba3298866f51abfa598c5751e90fd390 (diff)
Merge pull request #1625 from teg/ndisc
sd-ndisc: Rename (from sd-icmp6-nd) and prepare for handling SLAAC and router discovery
Diffstat (limited to 'src/libsystemd-network/network-internal.c')
-rw-r--r--src/libsystemd-network/network-internal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd-network/network-internal.c b/src/libsystemd-network/network-internal.c
index 2a62af2fd4..faf14fe6a2 100644
--- a/src/libsystemd-network/network-internal.c
+++ b/src/libsystemd-network/network-internal.c
@@ -32,7 +32,7 @@
#include "conf-parser.h"
#include "condition.h"
#include "network-internal.h"
-#include "sd-icmp6-nd.h"
+#include "sd-ndisc.h"
const char *net_get_name(struct udev_device *device) {
const char *name, *field;
@@ -390,8 +390,8 @@ void serialize_in6_addrs(FILE *f, const struct in6_addr *addresses,
assert(size);
for (i = 0; i < size; i++)
- fprintf(f, SD_ICMP6_ND_ADDRESS_FORMAT_STR"%s",
- SD_ICMP6_ND_ADDRESS_FORMAT_VAL(addresses[i]),
+ fprintf(f, SD_NDISC_ADDRESS_FORMAT_STR"%s",
+ SD_NDISC_ADDRESS_FORMAT_VAL(addresses[i]),
(i < (size - 1)) ? " ": "");
}