summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/l2tp/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ctrl/l2tp/packet.c')
-rw-r--r--accel-pppd/ctrl/l2tp/packet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/l2tp/packet.c b/accel-pppd/ctrl/l2tp/packet.c
index 33859562..87735a2a 100644
--- a/accel-pppd/ctrl/l2tp/packet.c
+++ b/accel-pppd/ctrl/l2tp/packet.c
@@ -57,7 +57,8 @@ void l2tp_packet_print(const struct l2tp_packet_t *pack,
print("]\n");
}
-struct l2tp_packet_t *l2tp_packet_alloc(int ver, int msg_type, struct sockaddr_in *addr)
+struct l2tp_packet_t *l2tp_packet_alloc(int ver, int msg_type,
+ const struct sockaddr_in *addr)
{
struct l2tp_packet_t *pack = mempool_alloc(pack_pool);
if (!pack)