aboutsummaryrefslogtreecommitdiff
path: root/net/udptunnel/patches
diff options
context:
space:
mode:
Diffstat (limited to 'net/udptunnel/patches')
-rw-r--r--net/udptunnel/patches/001-multicast.patch6
-rw-r--r--net/udptunnel/patches/002-main_code_fix.patch12
2 files changed, 7 insertions, 11 deletions
diff --git a/net/udptunnel/patches/001-multicast.patch b/net/udptunnel/patches/001-multicast.patch
index d69d139fe..4cfcbadeb 100644
--- a/net/udptunnel/patches/001-multicast.patch
+++ b/net/udptunnel/patches/001-multicast.patch
@@ -1,9 +1,9 @@
Description: Fix issue where udptunnel was failing to receive packets sent to a multicast address. (See #254834).
Author: singh_chinmay@extenprise.net
---- udptunnel-1.1.orig/udptunnel.c
-+++ udptunnel-1.1/udptunnel.c
-@@ -217,7 +217,7 @@
+--- a/udptunnel.c
++++ b/udptunnel.c
+@@ -217,7 +217,7 @@ static void parse_args(int argc, char *a
(*relays)[i].udpaddr.sin_port = htons(udpport + i);
(*relays)[i].udpaddr.sin_family = AF_INET;
(*relays)[i].udp_ttl = udpttl;
diff --git a/net/udptunnel/patches/002-main_code_fix.patch b/net/udptunnel/patches/002-main_code_fix.patch
index 93043df0e..1c417e4fd 100644
--- a/net/udptunnel/patches/002-main_code_fix.patch
+++ b/net/udptunnel/patches/002-main_code_fix.patch
@@ -1,10 +1,8 @@
Description: remove yp host lookup and fix some types
Author: Jan Delgado <jdelgado@gmx.net>
-Index: udptunnel-1.1/host2ip.c
-===================================================================
---- udptunnel-1.1.orig/host2ip.c
-+++ udptunnel-1.1/host2ip.c
+--- a/host2ip.c
++++ b/host2ip.c
@@ -4,7 +4,6 @@
#include <netdb.h> /* gethostbyname() */
#include <netinet/in.h> /* sockaddr_in */
@@ -33,10 +31,8 @@ Index: udptunnel-1.1/host2ip.c
}
return in;
} /* host2ip */
-Index: udptunnel-1.1/udptunnel.c
-===================================================================
---- udptunnel-1.1.orig/udptunnel.c
-+++ udptunnel-1.1/udptunnel.c
+--- a/udptunnel.c
++++ b/udptunnel.c
@@ -423,7 +423,7 @@ static void await_incoming_connections(s
for (i = 0; i < relay_count; i++) {
if (FD_ISSET(relays[i].tcp_listen_sock, &readfds)) {