Skip to content

Commit 797d6e3

Browse files
committed
updated subproject and fixed error in operator <
1 parent 671215f commit 797d6e3

File tree

5 files changed

+27
-5
lines changed

5 files changed

+27
-5
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2012-12-07 Simson Garfinkel <simsong@Mucha.local>
2+
3+
* src/tcpdemux.h (class flow_addr): fixed operator< type
4+
15
2012-11-17 Simson Garfinkel <simsong@npsair.local>
26

37
* src/tcpflow.cpp (usage): usage now goes to stdout and not stderr.

bootstrap.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
#!/bin/sh
2-
#/bin/rm -rf aclocal.m4
3-
git submodule init
4-
git submodule update
2+
3+
# Hopefully you checked out with git clone --recursive git@github.com:simsong/tcpflow.git
4+
5+
if [ ! -d src/be13_api ] ;
6+
then
7+
echo bringing in submodules
8+
echo next time check out with git clone --recursive
9+
git submodule init
10+
git submodule update
11+
fi
512
aclocal
613
autoreconf
714
automake --add-missing

gitpull.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
# http://stackoverflow.com/questions/5828324/update-git-submodule
3+
# pull root and subprojects
4+
git pull
5+
for dir in src/be13_api
6+
do
7+
pushd $dir
8+
git checkout master
9+
git pull
10+
popd
11+
done

src/be13_api

Submodule be13_api updated from 0dbc904 to 462865c

src/tcpdemux.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ class flow_addr {
208208
if (this->dport<b.dport) return true;
209209
if (this->dport>b.dport) return false;
210210
if (this->family < b.family) return true;
211-
if (this->family > b.family) return true;
211+
if (this->family > b.family) return false;
212212
return false; /* they are equal! */
213213
}
214214
};

0 commit comments

Comments
 (0)