1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/security/nmap/files/patch-libdnet-stripped__src__eth-bsd.c
Olli Hauer fd2a15f5ed - update nmap to version 5.35DC1
- remove MD2 code from nse_openssl.cc (already removed in nmap svn)
 - remove naming conflict if openssl-1.x is build with SCTP support

Approved by:	glarkin (mentor)
2010-09-03 21:16:38 +00:00

12 lines
454 B
C

--- ./libdnet-stripped/src/eth-bsd.c.orig 2009-11-09 05:49:32.000000000 +0100
+++ ./libdnet-stripped/src/eth-bsd.c 2010-09-03 21:04:29.000000000 +0200
@@ -45,7 +45,7 @@
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