-/* $OpenBSD: dhcpleased.c,v 1.28 2022/12/11 10:47:37 otto Exp $ */
+/* $OpenBSD: dhcpleased.c,v 1.29 2023/02/15 13:47:00 florian Exp $ */
/*
* Copyright (c) 2017, 2021 Florian Obser <florian@openbsd.org>
if ((routesock = socket(AF_ROUTE, SOCK_RAW | SOCK_CLOEXEC |
SOCK_NONBLOCK, AF_INET)) == -1)
fatal("route socket");
- shutdown(SHUT_RD, routesock);
+ shutdown(routesock, SHUT_RD);
event_init();
-/* $OpenBSD: slaacd.c,v 1.67 2022/11/27 15:19:38 kn Exp $ */
+/* $OpenBSD: slaacd.c,v 1.68 2023/02/15 13:47:00 florian Exp $ */
/*
* Copyright (c) 2017 Florian Obser <florian@openbsd.org>
if ((routesock = socket(AF_ROUTE, SOCK_RAW | SOCK_CLOEXEC |
SOCK_NONBLOCK, AF_INET6)) == -1)
fatal("route socket");
- shutdown(SHUT_RD, routesock);
+ shutdown(routesock, SHUT_RD);
event_init();
-/* $OpenBSD: unwind.c,v 1.67 2021/12/18 10:34:19 florian Exp $ */
+/* $OpenBSD: unwind.c,v 1.68 2023/02/15 13:47:00 florian Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
if ((routesock = socket(AF_ROUTE, SOCK_RAW | SOCK_CLOEXEC |
SOCK_NONBLOCK, 0)) == -1)
fatal("route socket");
- shutdown(SHUT_RD, routesock);
+ shutdown(routesock, SHUT_RD);
if ((ta_fd = open(TRUST_ANCHOR_FILE, O_RDWR | O_CREAT, 0644)) == -1)
log_warn("%s", TRUST_ANCHOR_FILE);