summaryrefslogtreecommitdiff
path: root/src/libipsec/esp_packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libipsec/esp_packet.c')
-rw-r--r--src/libipsec/esp_packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libipsec/esp_packet.c b/src/libipsec/esp_packet.c
index ebe13ce77..822302280 100644
--- a/src/libipsec/esp_packet.c
+++ b/src/libipsec/esp_packet.c
@@ -115,7 +115,7 @@ METHOD(packet_t, skip_bytes, void,
return this->packet->skip_bytes(this->packet, bytes);
}
-METHOD(packet_t, clone, packet_t*,
+METHOD(packet_t, clone_, packet_t*,
private_esp_packet_t *this)
{
private_esp_packet_t *pkt;
@@ -414,7 +414,7 @@ static private_esp_packet_t *esp_packet_create_internal(packet_t *packet)
.get_dscp = _get_dscp,
.set_dscp = _set_dscp,
.skip_bytes = _skip_bytes,
- .clone = _clone,
+ .clone = _clone_,
.destroy = _destroy,
},
.get_source = _get_source,