aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/tcptrack
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-16 09:28:17 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-16 09:28:17 +0000
commit671edc26f84470ad281cc8ef77a960f3991bb922 (patch)
tree7563df67581d046971d600584de7bfc2b5764a38 /net-mgmt/tcptrack
parent5844ba605326749f2533690fd24fb3ad06ea5ddf (diff)
downloadports-671edc26f84470ad281cc8ef77a960f3991bb922.tar.gz
ports-671edc26f84470ad281cc8ef77a960f3991bb922.zip
Notes
Diffstat (limited to 'net-mgmt/tcptrack')
-rw-r--r--net-mgmt/tcptrack/files/patch-src-IPv4Address.h12
-rw-r--r--net-mgmt/tcptrack/files/patch-src-TCPPacket.h40
2 files changed, 52 insertions, 0 deletions
diff --git a/net-mgmt/tcptrack/files/patch-src-IPv4Address.h b/net-mgmt/tcptrack/files/patch-src-IPv4Address.h
new file mode 100644
index 000000000000..0fec03d06b1a
--- /dev/null
+++ b/net-mgmt/tcptrack/files/patch-src-IPv4Address.h
@@ -0,0 +1,12 @@
+diff -u src/IPv4Address.h.orig src/IPv4Address.h
+--- src/IPv4Address.h.orig Sat Dec 16 00:42:10 2006
++++ src/IPv4Address.h Sat Dec 16 00:42:51 2006
+@@ -13,7 +13,7 @@
+ IPv4Address(IPv4Address &na) { a=na.toStruct(); }
+ bool operator==( const IPv4Address & ) const;
+ bool operator!=( const IPv4Address & ) const;
+- char * IPv4Address::ptr() const;
++ char * ptr() const;
+ friend ostream & operator<<( ostream &, const IPv4Address &);
+ struct in_addr toStruct() const;
+ private:
diff --git a/net-mgmt/tcptrack/files/patch-src-TCPPacket.h b/net-mgmt/tcptrack/files/patch-src-TCPPacket.h
new file mode 100644
index 000000000000..427397f9abd6
--- /dev/null
+++ b/net-mgmt/tcptrack/files/patch-src-TCPPacket.h
@@ -0,0 +1,40 @@
+diff -u src/TCPPacket.h.orig src/TCPPacket.h
+--- src/TCPPacket.h.orig Sat Dec 16 00:56:26 2006
++++ src/TCPPacket.h Sat Dec 16 00:59:55 2006
+@@ -29,24 +29,24 @@
+ class TCPPacket
+ {
+ public:
+- TCPPacket::TCPPacket( const u_char *data, unsigned int data_len );
+- TCPPacket::TCPPacket( TCPPacket & orig );
+- seq_t TCPPacket::getSeq() const;
+- seq_t TCPPacket::getAck() const;
++ TCPPacket( const u_char *data, unsigned int data_len );
++ TCPPacket( TCPPacket & orig );
++ seq_t getSeq() const;
++ seq_t getAck() const;
+ bool isFlagSet(unsigned int);
+ unsigned short headerLen() const { return header_len; };
+
+ portnum_t srcPort() const;
+ portnum_t dstPort() const;
+
+- bool TCPPacket::fin() const;
+- bool TCPPacket::syn() const;
+- bool TCPPacket::rst() const;
+- bool TCPPacket::psh() const;
+- bool TCPPacket::ack() const;
+- bool TCPPacket::urg() const;
+- bool TCPPacket::ece() const;
+- bool TCPPacket::cwr() const;
++ bool fin() const;
++ bool syn() const;
++ bool rst() const;
++ bool psh() const;
++ bool ack() const;
++ bool urg() const;
++ bool ece() const;
++ bool cwr() const;
+
+ friend ostream & operator<<( ostream &, const TCPPacket &);
+ private: