aboutsummaryrefslogtreecommitdiffstats
path: root/main/musl/0023-add-missing-protocols-to-protoent-lookup-functions.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/musl/0023-add-missing-protocols-to-protoent-lookup-functions.patch')
-rw-r--r--main/musl/0023-add-missing-protocols-to-protoent-lookup-functions.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/main/musl/0023-add-missing-protocols-to-protoent-lookup-functions.patch b/main/musl/0023-add-missing-protocols-to-protoent-lookup-functions.patch
new file mode 100644
index 0000000000..4b22402d82
--- /dev/null
+++ b/main/musl/0023-add-missing-protocols-to-protoent-lookup-functions.patch
@@ -0,0 +1,54 @@
+From d5f8394f6ea9549607567bd92de12a2446c15614 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
+Date: Tue, 5 Jan 2016 16:58:40 +0200
+Subject: [PATCH] add missing protocols to protoent lookup functions
+
+---
+ src/network/proto.c | 17 ++++++++++++++++-
+ 1 file changed, 16 insertions(+), 1 deletion(-)
+
+diff --git a/src/network/proto.c b/src/network/proto.c
+index 43aa17a..a42d145 100644
+--- a/src/network/proto.c
++++ b/src/network/proto.c
+@@ -9,21 +9,36 @@ static const unsigned char protos[] = {
+ "\001icmp\0"
+ "\002igmp\0"
+ "\003ggp\0"
++ "\004ipencap\0"
++ "\005st\0"
+ "\006tcp\0"
++ "\008egp\0"
+ "\014pup\0"
+ "\021udp\0"
+- "\026idp\0"
++ "\024hmp\0"
++ "\026xns-idp\0"
++ "\033rdp\0"
++ "\035iso-tp4\0"
++ "\044xtp\0"
++ "\045ddp\0"
++ "\046idpr-cmtp\0"
+ "\051ipv6\0"
+ "\053ipv6-route\0"
+ "\054ipv6-frag\0"
++ "\055idrp\0"
++ "\056rsvp\0"
+ "\057gre\0"
+ "\062esp\0"
+ "\063ah\0"
++ "\071skip\0"
+ "\072ipv6-icmp\0"
+ "\073ipv6-nonxt\0"
+ "\074ipv6-opts\0"
++ "\111rspf\0"
++ "\121vmtp\0"
+ "\131ospf\0"
+ "\136ipip\0"
++ "\142encap\0"
+ "\147pim\0"
+ "\377raw"
+ };
+--
+2.7.0
+