git://developer.intra2net.com
/
libi2ncommon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
939b554
)
and schmennt...
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Thu, 26 Aug 2004 16:53:42 +0000 (16:53 +0000)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Thu, 26 Aug 2004 16:53:42 +0000 (16:53 +0000)
src/ipfunc.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/ipfunc.cpp
b/src/ipfunc.cpp
index
b02a168
..
ccefe95
100644
(file)
--- a/
src/ipfunc.cpp
+++ b/
src/ipfunc.cpp
@@
-8,7
+8,6
@@
#include <string>
#include <sstream>
-#include <iostream>
#include <stdexcept>
#include <arpa/inet.h>
@@
-165,7
+164,7
@@
void IP_RANGE::load(type t, const std::string& ip, const std::string& mask_or_en
this->ip=ia_ip1.s_addr;
this->end=ia_ip2.s_addr;
- // Automatically turn IP if IP & and are swapped
+ // Automatically turn IP if IP & end are swapped
if (turn_ip(this->ip) > turn_ip(this->end)) {
unsigned int tmp = this->ip;
this->ip = this->end;