ALT Linux Bugzilla
– Attachment 5904 Details for
Bug 29217
arpwatch не работает с параметрами по умолчанию
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
arpwatch-any-snaplen-fix.patch
arpwatch-any-snaplen-fix.patch (text/plain), 574 bytes, created by
Anton Farygin
on 2013-08-12 16:32:21 MSK
(
hide
)
Description:
arpwatch-any-snaplen-fix.patch
Filename:
MIME Type:
Creator:
Anton Farygin
Created:
2013-08-12 16:32:21 MSK
Size:
574 bytes
patch
obsolete
>diff --git a/arpwatch/arpwatch.c b/arpwatch/arpwatch.c >index cbfc709..5077b03 100644 >--- a/arpwatch/arpwatch.c >+++ b/arpwatch/arpwatch.c >@@ -309,7 +309,7 @@ main(int argc, char **argv) > snaplen = max(sizeof(struct ether_header), > sizeof(struct fddi_header)) + sizeof(struct ether_arp); > if (strcmp(interface, "any") == 0) >- snaplen = sizeof(struct lcc_header) + sizeof(struct ether_arp); >+ snaplen = sizeof(struct lcc_header) + sizeof(struct ether_arp)+1; > timeout = 1000; > pd = pcap_open_live(interface, snaplen, 1, timeout, errbuf); > if (pd == NULL) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 29217
: 5904