The following commit has been merged in the master branch: commit 5815f7934df5d74181815a9ad9369bcfbdd4fc0d Author: Andreas Langer an.langer@gmx.de Date: Sun Nov 26 11:41:04 2006 +0100
change vis udp send socket, use batman interface
diff --git a/posix.c b/posix.c index c0d6404..702d451 100644 --- a/posix.c +++ b/posix.c @@ -1195,7 +1195,8 @@ int main(int argc, char *argv[]) vis_if.addr.sin_family = AF_INET; vis_if.addr.sin_port = htons(1967); vis_if.addr.sin_addr.s_addr = vis_server; - vis_if.sock = socket( PF_INET, SOCK_DGRAM, 0); + /*vis_if.sock = socket( PF_INET, SOCK_DGRAM, 0);*/ + vis_if.sock = ((struct batman_if *)if_list.next)->udp_send_sock; } else memset(&vis_if, 0, sizeof(vis_if));