git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'mainstream'
[sliver-openvswitch.git]
/
lib
/
bfd.c
diff --git
a/lib/bfd.c
b/lib/bfd.c
index
a8c2294
..
5413105
100644
(file)
--- a/
lib/bfd.c
+++ b/
lib/bfd.c
@@
-878,7
+878,7
@@
bfd_forwarding__(struct bfd *bfd) OVS_REQUIRES(mutex)
static bool
bfd_lookup_ip(const char *host_name, struct in_addr *addr)
{
- if (!inet_
aton(
host_name, addr)) {
+ if (!inet_
pton(AF_INET,
host_name, addr)) {
VLOG_ERR_RL(&rl, "\"%s\" is not a valid IP address", host_name);
return false;
}