diff options
Diffstat (limited to 'src/charon/network/packet.c')
-rw-r--r-- | src/charon/network/packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charon/network/packet.c b/src/charon/network/packet.c index 6948fb4be..ca8b2a616 100644 --- a/src/charon/network/packet.c +++ b/src/charon/network/packet.c @@ -130,7 +130,7 @@ static void destroy(private_packet_t *this) /** * Implements packet_t.clone. */ -static packet_t *clone(private_packet_t *this) +static packet_t *clone_(private_packet_t *this) { private_packet_t *other = (private_packet_t*)packet_create(); @@ -163,7 +163,7 @@ packet_t *packet_create(void) this->public.get_source = (host_t*(*) (packet_t *)) get_source; this->public.set_destination = (void(*) (packet_t *,host_t*)) set_destination; this->public.get_destination = (host_t*(*) (packet_t *)) get_destination; - this->public.clone = (packet_t*(*) (packet_t *))clone; + this->public.clone = (packet_t*(*) (packet_t *))clone_; this->public.destroy = (void(*) (packet_t *)) destroy; this->destination = NULL; |