aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/net-tools/net-tools/net-tools-1.60-sctp2-quiet.patch
diff options
context:
space:
mode:
authorLi Zhou <li.zhou@windriver.com>2016-03-01 16:35:19 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-09 16:36:31 +0000
commit45e09f33b4607317d60e8ca01ce9c8fdb55df0a0 (patch)
treed428ee7de269589e221cda3935748187bb5e4fed /meta/recipes-extended/net-tools/net-tools/net-tools-1.60-sctp2-quiet.patch
parent0903d6f0098f112d4263812df109e0c44c166db8 (diff)
downloadopenembedded-core-contrib-45e09f33b4607317d60e8ca01ce9c8fdb55df0a0.tar.gz
net-tools: Add SCTP option support
Porting three net-tools SCTP related patches from <https://archive.fedoraproject.org/pub/archive/fedora/linux/releases/ 12/Fedora/source/SRPMS/net-tools-1.60-95.fc12.src.rpm> to add support for SCTP option. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/net-tools/net-tools/net-tools-1.60-sctp2-quiet.patch')
-rw-r--r--meta/recipes-extended/net-tools/net-tools/net-tools-1.60-sctp2-quiet.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-extended/net-tools/net-tools/net-tools-1.60-sctp2-quiet.patch b/meta/recipes-extended/net-tools/net-tools/net-tools-1.60-sctp2-quiet.patch
new file mode 100644
index 0000000000..d34e651327
--- /dev/null
+++ b/meta/recipes-extended/net-tools/net-tools/net-tools-1.60-sctp2-quiet.patch
@@ -0,0 +1,28 @@
+From 14287b594e1f02b811f889fb515c1a51b72c08d4 Mon Sep 17 00:00:00 2001
+From: Li Zhou <li.zhou@windriver.com>
+Date: Thu, 14 Jan 2016 17:07:48 +0800
+Subject: [PATCH 2/3] net-tools: add SCTP support for netstat
+
+Upstream-Status: pending
+
+Signed-off-by: Li Zhou <li.zhou@windriver.com>
+---
+ netstat.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/netstat.c b/netstat.c
+index 5d1a4a1..56a15c2 100644
+--- a/netstat.c
++++ b/netstat.c
+@@ -2104,7 +2104,7 @@ int main
+ usage();
+
+ if ((flag_inet || flag_inet6 || flag_sta) && !(flag_tcp || flag_udp || flag_sctp || flag_raw))
+- flag_tcp = flag_udp = flag_sctp = flag_raw = 1;
++ flag_tcp = flag_udp = flag_raw = 1;
+
+ if ((flag_tcp || flag_udp || flag_sctp || flag_raw || flag_igmp) && !(flag_inet || flag_inet6))
+ flag_inet = flag_inet6 = 1;
+--
+1.8.5.2.233.g932f7e4
+