-/* $OpenBSD: engine.c,v 1.27 2021/09/15 15:18:23 florian Exp $ */
+/* $OpenBSD: engine.c,v 1.28 2021/10/28 09:44:49 kn Exp $ */
/*
* Copyright (c) 2017, 2021 Florian Obser <florian@openbsd.org>
ntohs(udp->uh_sport), hbuf_dst, ntohs(udp->uh_dport));
}
- if (ntohs(udp->uh_sport) != SERVER_PORT ||
- ntohs(udp->uh_dport) != CLIENT_PORT) {
- log_warnx("%s: invalid ports used %s:%d -> %s:%d", __func__,
- hbuf_src, ntohs(udp->uh_sport),
- hbuf_dst, ntohs(udp->uh_dport));
- return;
- }
if (rem < sizeof(*dhcp_hdr))
goto too_short;