diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2018-01-30 21:02:54 +0000 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2018-01-30 21:02:54 +0000 |
commit | 89768ae6bbab66466c3e1217908eaedf1b45178c (patch) | |
tree | f1c997641bf4e0f504f43726364016afc8a69eab /security/nmap/files/patch-libdnet-stripped_src_eth-bsd.c | |
parent | games/openra: NUGET_PACKAGEDIR is a symlink after r460430 (diff) |
- update to 7.60
- regenerate patches with makepatch
PR: ports/221522
Notes
Notes:
svn path=/head/; revision=460437
Diffstat (limited to 'security/nmap/files/patch-libdnet-stripped_src_eth-bsd.c')
-rw-r--r-- | security/nmap/files/patch-libdnet-stripped_src_eth-bsd.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/nmap/files/patch-libdnet-stripped_src_eth-bsd.c b/security/nmap/files/patch-libdnet-stripped_src_eth-bsd.c new file mode 100644 index 000000000000..24d538b095f8 --- /dev/null +++ b/security/nmap/files/patch-libdnet-stripped_src_eth-bsd.c @@ -0,0 +1,11 @@ +--- libdnet-stripped/src/eth-bsd.c.orig 2009-11-09 04:49:32 UTC ++++ libdnet-stripped/src/eth-bsd.c +@@ -45,7 +45,7 @@ eth_open(const char *device) + int i; + + if ((e = calloc(1, sizeof(*e))) != NULL) { +- for (i = 0; i < 128; i++) { ++ for (i = 0; i < 1024; i++) { + snprintf(file, sizeof(file), "/dev/bpf%d", i); + /* This would be O_WRONLY, but Mac OS X 10.6 has a bug + where that prevents other users of the interface |