summaryrefslogtreecommitdiff
path: root/proto/radv
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2023-04-20 21:06:42 +0200
committerMaria Matejka <mq@ucw.cz>2023-04-22 20:48:42 +0200
commitb3f805ce29487f790090fcf31096f5a7cf1d585d (patch)
tree5391762ee46af090a2ca5bb0d5674c66a8aab04e /proto/radv
parent074739e0e9baaba53f2a99edd348b76c3613b455 (diff)
Socket closing has its dedicated function
Diffstat (limited to 'proto/radv')
-rw-r--r--proto/radv/packets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/radv/packets.c b/proto/radv/packets.c
index c6b565d2..d1d8663f 100644
--- a/proto/radv/packets.c
+++ b/proto/radv/packets.c
@@ -511,7 +511,7 @@ radv_sk_open(struct radv_iface *ifa)
err:
sk_log_error(sk, ifa->ra->p.name);
- rfree(sk);
+ sk_close(sk);
return 0;
}