summaryrefslogtreecommitdiff
path: root/net-mgmt/cdpr/files/patch-cdpr.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
commit7ae7b018ccf7760013f368fcb83aad9ecd8982a8 (patch)
treee83ee6693050a76e305a95a376451aa583df151e /net-mgmt/cdpr/files/patch-cdpr.c
parenttextproc/rubygem-gitlab-grit: make it work with rubygem-mime-types again (diff)
With the power of USES=dos2unix, get rid of most patches and files
with CRLF. While there, run make makepatch, rename patches to use the new scheme, and various fixes. With hat: portmgr Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=417166
Diffstat (limited to 'net-mgmt/cdpr/files/patch-cdpr.c')
-rw-r--r--net-mgmt/cdpr/files/patch-cdpr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net-mgmt/cdpr/files/patch-cdpr.c b/net-mgmt/cdpr/files/patch-cdpr.c
index 8c591de71e7e..3a83c518fad5 100644
--- a/net-mgmt/cdpr/files/patch-cdpr.c
+++ b/net-mgmt/cdpr/files/patch-cdpr.c
@@ -1,6 +1,6 @@
---- cdpr.c.orig Wed Nov 19 17:53:13 2003
-+++ cdpr.c Wed Nov 19 17:54:06 2003
-@@ -639,7 +639,7 @@
+--- cdpr.c.orig 2016-06-20 14:44:21 UTC
++++ cdpr.c
+@@ -641,7 +641,7 @@ main(int argc, char *argv[])
pcap_lookupnet(dev, &net, &mask, errbuf);
/* Open the pcap device */
@@ -9,7 +9,7 @@
{
printf("Error opening device (%s)\n", errbuf);
exit(1);
-@@ -656,11 +656,6 @@
+@@ -658,11 +658,6 @@ main(int argc, char *argv[])
pcap_setfilter(handle, &filter);
pcap_freecode(&filter);
@@ -21,7 +21,7 @@
/* Get the next packet that comes in, we only need one */
printf("Waiting for CDP advertisement:\n");
-@@ -671,11 +666,7 @@
+@@ -673,11 +668,7 @@ main(int argc, char *argv[])
do
{
packet = pcap_next(handle, &header);