summaryrefslogtreecommitdiff
path: root/net-mgmt/cdpd/files/patch-cdpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/cdpd/files/patch-cdpd.c')
-rw-r--r--net-mgmt/cdpd/files/patch-cdpd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/cdpd/files/patch-cdpd.c b/net-mgmt/cdpd/files/patch-cdpd.c
new file mode 100644
index 000000000000..18e41da64821
--- /dev/null
+++ b/net-mgmt/cdpd/files/patch-cdpd.c
@@ -0,0 +1,11 @@
+--- cdpd.c.orig 2016-03-22 18:37:16 UTC
++++ cdpd.c
+@@ -606,7 +606,7 @@ cdp_debug_packet(struct cdp_interface* c
+ int
+ main(int argc, char* argv[])
+ {
+- char c;
++ int c;
+ int timeout=60, ret=0;
+ unsigned char buffer[1600];
+ int offset;