projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
odp-util: Format and scan multiple MPLS labels.
[cascardo/ovs.git]
/
lib
/
smap.c
diff --git
a/lib/smap.c
b/lib/smap.c
index
2c41013
..
07dd23a
100644
(file)
--- a/
lib/smap.c
+++ b/
lib/smap.c
@@
-19,6
+19,7
@@
#include "hash.h"
#include "json.h"
#include "hash.h"
#include "json.h"
+#include "packets.h"
#include "uuid.h"
static struct smap_node *smap_add__(struct smap *, char *, void *,
#include "uuid.h"
static struct smap_node *smap_add__(struct smap *, char *, void *,
@@
-101,8
+102,7
@@
void
smap_add_ipv6(struct smap *smap, const char *key, struct in6_addr *addr)
{
char buf[INET6_ADDRSTRLEN];
smap_add_ipv6(struct smap *smap, const char *key, struct in6_addr *addr)
{
char buf[INET6_ADDRSTRLEN];
-
- inet_ntop(AF_INET6, addr, buf, sizeof buf);
+ ipv6_string_mapped(buf, addr);
smap_add(smap, key, buf);
}
smap_add(smap, key, buf);
}