diff options
Diffstat (limited to 'net-mgmt/cdpr/files/patch-aa')
-rw-r--r-- | net-mgmt/cdpr/files/patch-aa | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net-mgmt/cdpr/files/patch-aa b/net-mgmt/cdpr/files/patch-aa new file mode 100644 index 000000000000..b8a15ef9e223 --- /dev/null +++ b/net-mgmt/cdpr/files/patch-aa @@ -0,0 +1,14 @@ +--- cdpr.c.orig Tue Jul 2 09:18:44 2002 ++++ cdpr.c Wed Jul 3 13:07:38 2002 +@@ -452,7 +452,10 @@ + + /* Get the next packet that comes in, we only need one */ + printf("Waiting for CDP advertisement, default config is to transmit CDP packets every 60 seconds\n"); +- packet = pcap_next(handle, &header); ++ do ++ { ++ packet = pcap_next(handle, &header); ++ } while (!packet); + + /* Print its length */ + if(verbose > 0) |