diff options
Diffstat (limited to 'accel-pppd/ctrl/ipoe/arp.c')
-rw-r--r-- | accel-pppd/ctrl/ipoe/arp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/accel-pppd/ctrl/ipoe/arp.c b/accel-pppd/ctrl/ipoe/arp.c index ee4ccded..e019d884 100644 --- a/accel-pppd/ctrl/ipoe/arp.c +++ b/accel-pppd/ctrl/ipoe/arp.c @@ -183,8 +183,7 @@ struct arp_serv *arpd_start(struct ipoe_serv *ipoe) void arpd_stop(struct arp_serv *arp) { - triton_md_unregister_handler(&arp->h); - close(arp->h.fd); + triton_md_unregister_handler(&arp->h, 1); _free(arp); } |