# HG changeset patch # User Roy Marples # Date 1607512530 0 # Node ID 99bfd2eb77ab7f3faa7fc9c83744d6009b1c7370 # Parent 0fff9309b86d16bb66358229c78566b0a29f8d2c privsep: Don't log a BPF error that network is down The master process will catch this clean remove the BPF process. diff -r 0fff9309b86d -r 99bfd2eb77ab src/privsep-bpf.c --- a/src/privsep-bpf.c Tue Dec 08 16:15:28 2020 +0000 +++ b/src/privsep-bpf.c Wed Dec 09 11:15:30 2020 +0000 @@ -73,7 +73,8 @@ if (len == -1) { int error = errno; - logerr("%s: %s", psp->psp_ifname, __func__); + if (errno != ENETDOWN) + logerr("%s: %s", psp->psp_ifname, __func__); if (error != ENXIO) break; /* If the interface has departed, close the BPF