[ovs-dev] [PATCH] netdev: Fix typos in comment.

Ben Pfaff blp at ovn.org
Tue Apr 17 15:33:51 UTC 2018


Fixes: ee4776b8bce1 ("netdev: New function netdev_get_ip_by_name().")
Suggested-by: Mark Michelson <mmichels at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
---
 lib/netdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/netdev.c b/lib/netdev.c
index 1c4ae2c6cdd2..a418d9a00709 100644
--- a/lib/netdev.c
+++ b/lib/netdev.c
@@ -1187,7 +1187,7 @@ netdev_get_in4_by_name(const char *device_name, struct in_addr *in4)
 }
 
 /* Obtains an IPv4 or IPv6 address from 'device_name' and save the address in
- * '*ss', representing IPv4 addressse as v6-mapped.  Returns 0 if successful,
+ * '*in6', representing IPv4 addresses as v6-mapped.  Returns 0 if successful,
  * otherwise a positive errno value. */
 int
 netdev_get_ip_by_name(const char *device_name, struct in6_addr *in6)
-- 
2.16.1



More information about the dev mailing list