blob: 4f615c58e0f00d2e0d90044036355146370b0c5f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- ./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
|