From 91774e47e23c83aa3df901adc167ab4592f87a22 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 6 Sep 2011 09:45:27 +0200 Subject: pingu_iface: bind to address instead of oif Seems like ip rule does not work with source address unless we bind to address --- sockaddr_util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sockaddr_util.h') diff --git a/sockaddr_util.h b/sockaddr_util.h index 97ea182..e716f96 100644 --- a/sockaddr_util.h +++ b/sockaddr_util.h @@ -22,5 +22,6 @@ union sockaddr_any *sockaddr_from_addrinfo(union sockaddr_any *sa, struct addrinfo *ai); char *sockaddr_to_string(union sockaddr_any *sa, char *str, size_t size); +socklen_t sockaddr_len(union sockaddr_any *sa); #endif /* SOCKADDR_UTIL_H */ -- cgit v1.2.3