-/* $OpenBSD: dhcpleased.c,v 1.20 2021/08/24 14:54:02 florian Exp $ */
+/* $OpenBSD: dhcpleased.c,v 1.21 2021/09/16 13:36:52 florian Exp $ */
/*
* Copyright (c) 2017, 2021 Florian Obser <florian@openbsd.org>
rtm.rtm_msglen += padlen;
}
- if (writev(routesock, iov, iovcnt) == -1)
- log_warn("failed to send route message");
+ if (writev(routesock, iov, iovcnt) == -1) {
+ if (errno != EEXIST)
+ log_warn("failed to send route message");
+ }
}
#ifndef SMALL
}
if (writev(routesock, iov, iovcnt) == -1)
- log_warn("failed to send route message");
+ log_warn("failed to propose nameservers");
}
void