freebsd-ports/net-mgmt/cdpd/files/patch-cdpd.c
John Marino f7502b66bb net-mgmt/cdpd: Fix runtime on armv6
While here, pet portlint and define the 2-clause BSD license

PR:		208216
Submitted by:	Mikael Urankar (gmail)
2016-08-23 01:51:21 +00:00

11 lines
239 B
C

--- 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;