aboutsummaryrefslogtreecommitdiff
path: root/net/nload/files
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2016-06-19 09:44:21 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2016-06-19 09:44:21 +0000
commite45d39f39bc16147fae6e57085386ff7b32f559c (patch)
treeadb9892c0e27b5043345860d23638f966a5a9fcc /net/nload/files
parentf6f4ea09f1855b56f1053f616f0e5b091505db24 (diff)
downloadports-e45d39f39bc16147fae6e57085386ff7b32f559c.tar.gz
ports-e45d39f39bc16147fae6e57085386ff7b32f559c.zip
Notes
Diffstat (limited to 'net/nload/files')
-rw-r--r--net/nload/files/patch-src_devreader-bsd.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/nload/files/patch-src_devreader-bsd.cpp b/net/nload/files/patch-src_devreader-bsd.cpp
new file mode 100644
index 000000000000..e827ac671ebb
--- /dev/null
+++ b/net/nload/files/patch-src_devreader-bsd.cpp
@@ -0,0 +1,11 @@
+--- src/devreader-bsd.cpp.orig 2011-06-12 10:01:11 UTC
++++ src/devreader-bsd.cpp
+@@ -91,7 +91,7 @@ list<string> DevReaderBsd::findAllDevice
+ if(sdl->sdl_family != AF_LINK)
+ continue;
+
+- interfaceNames.push_back(string(sdl->sdl_data));
++ interfaceNames.push_back(string(sdl->sdl_data, sdl->sdl_nlen));
+ }
+
+ free(buf);