2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

sock is potentially unused in use_min_mtu

This commit is contained in:
Mark Andrews
2012-11-01 15:27:56 +11:00
parent 4786e693a7
commit 18a148d998
2 changed files with 6 additions and 1 deletions

View File

@@ -2266,6 +2266,9 @@ clear_bsdcompat(void) {
static void
use_min_mtu(isc__socket_t *sock) {
#if !defined(IPV6_USE_MIN_MTU) && !defined(IPV6_MTU)
UNUSED(sock);
#endif
#ifdef IPV6_USE_MIN_MTU
/* use minimum MTU */
if (sock->pf == AF_INET6) {