summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/encryptedPacket.cpp2
-rw-r--r--src/plainPacket.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/encryptedPacket.cpp b/src/encryptedPacket.cpp
index 483fb50..1562f71 100644
--- a/src/encryptedPacket.cpp
+++ b/src/encryptedPacket.cpp
@@ -31,7 +31,7 @@
#include <stdexcept>
#include <iostream>
-//#include <arpa/inet.h>
+#include <arpa/inet.h>
#include <cstdio> // for std::memcpy
#include "encryptedPacket.h"
diff --git a/src/plainPacket.h b/src/plainPacket.h
index dddc3f1..667c723 100644
--- a/src/plainPacket.h
+++ b/src/plainPacket.h
@@ -35,7 +35,7 @@
#include "datatypes.h"
#include "buffer.h"
-//#include "networkAddress.h"
+#include "networkAddress.h"
class Cipher;
/**
@@ -93,8 +93,8 @@ public:
*/
u_int8_t* getPayload();
-// NetworkAddress getSrcAddr() const;
-// NetworkAddress getDstAddr() const;
+ NetworkAddress getSrcAddr() const;
+ NetworkAddress getDstAddr() const;
private:
PlainPacket();