-/* $OpenBSD: dhcp6leased.c,v 1.2 2024/06/02 13:35:52 florian Exp $ */
+/* $OpenBSD: dhcp6leased.c,v 1.3 2024/06/02 15:19:05 florian Exp $ */
/*
* Copyright (c) 2017, 2021, 2024 Florian Obser <florian@openbsd.org>
}
}
+ freeifaddrs(ifap);
+
sin6->sin6_port = htons(CLIENT_PORT);
log_debug("%s: %s rdomain: %d", __func__, sin6_to_str(sin6),
rdomain);
-/* $OpenBSD: frontend.c,v 1.5 2024/06/02 14:07:19 florian Exp $ */
+/* $OpenBSD: frontend.c,v 1.6 2024/06/02 15:19:05 florian Exp $ */
/*
* Copyright (c) 2017, 2021, 2024 Florian Obser <florian@openbsd.org>
}
}
out:
-
+ freeifaddrs(ifap);
iface = get_iface_by_id(if_index);
if (iface == NULL) {
if ((iface = calloc(1, sizeof(*iface))) == NULL)