summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/dhcp4o6_ipc.h
diff options
context:
space:
mode:
authorMarcin Siodelski <marcin@isc.org>2015-11-02 03:15:25 +0100
committerMarcin Siodelski <marcin@isc.org>2015-11-02 03:15:25 +0100
commita13c7d84585a0ecd4c29ed0b041415a6bb7bb542 (patch)
tree46e90f0cb4edbbe6ddcd5902574ddf0d30995113 /src/lib/dhcpsrv/dhcp4o6_ipc.h
parent[4106] Improvements and comments to the DHCPv4o6 IPC tests. (diff)
downloadkea-a13c7d84585a0ecd4c29ed0b041415a6bb7bb542.tar.xz
kea-a13c7d84585a0ecd4c29ed0b041415a6bb7bb542.zip
[4106] Cleanup in the DHCPv4o6 IPC class.
Diffstat (limited to 'src/lib/dhcpsrv/dhcp4o6_ipc.h')
-rw-r--r--src/lib/dhcpsrv/dhcp4o6_ipc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dhcpsrv/dhcp4o6_ipc.h b/src/lib/dhcpsrv/dhcp4o6_ipc.h
index 36b05babc0..f83196965b 100644
--- a/src/lib/dhcpsrv/dhcp4o6_ipc.h
+++ b/src/lib/dhcpsrv/dhcp4o6_ipc.h
@@ -46,7 +46,7 @@ protected:
/// @param side side of the server (4 or 6)
///
/// @return new socket descriptor
- int open(uint16_t port, int side);
+ int open(const uint16_t port, const int side);
public:
/// @brief Open communication socket (for derived classes)
@@ -65,7 +65,7 @@ public:
///
/// @param a pointer to a DHCPv6 message with interface and remote
/// address set for the IPC message
- void send(Pkt6Ptr pkt);
+ void send(const Pkt6Ptr& pkt);
protected:
/// @brief Port number