summaryrefslogtreecommitdiff
path: root/net/netmap/files/patch-netmap::lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/netmap/files/patch-netmap::lookup.c')
-rw-r--r--net/netmap/files/patch-netmap::lookup.c22
1 files changed, 2 insertions, 20 deletions
diff --git a/net/netmap/files/patch-netmap::lookup.c b/net/netmap/files/patch-netmap::lookup.c
index c756665f00ce..5bfc31c556d0 100644
--- a/net/netmap/files/patch-netmap::lookup.c
+++ b/net/netmap/files/patch-netmap::lookup.c
@@ -1,5 +1,5 @@
---- netmap/lookup.c.orig Sun Dec 15 14:54:26 2002
-+++ netmap/lookup.c Sun Dec 15 14:54:26 2002
+--- netmap/lookup.c.orig 2010-01-06 07:59:38.000000000 +0900
++++ netmap/lookup.c 2011-11-23 22:32:15.000000000 +0900
@@ -1,6 +1,8 @@
#include <strstream>
#include <iostream>
@@ -9,21 +9,3 @@
#include <netdb.h> //hostent def
//from belgolib
-@@ -83,7 +85,7 @@
- if(verbose_lvl)
- cout << indent(2) << "Reading " << fname << endl;
-
-- Infile cfile(fname, ios::bin | ios::in);
-+ Infile cfile(fname, ios::binary | ios::in);
-
- while(cfile && !cfile.eof()) {
- HostRec hr;
-@@ -229,7 +231,7 @@
-
- void LookUp::read_failedip(const string& fname)
- {
-- Infile cfile(fname, ios::bin | ios::in);
-+ Infile cfile(fname, ios::binary | ios::in);
-
- while(cfile && !cfile.eof()) {
- string ip;