mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-02 23:35:23 +00:00
Undo interface attach announcement changes
This commit is contained in:
10
bpf.c
10
bpf.c
@@ -107,10 +107,7 @@ void if_register_send (info, interface)
|
|||||||
#else
|
#else
|
||||||
info -> wfdesc = info -> rfdesc;
|
info -> wfdesc = info -> rfdesc;
|
||||||
#endif
|
#endif
|
||||||
note ("Sending on BPF/%s/%s",
|
note ("Sending on BPF/%s",
|
||||||
print_hw_addr (info -> hw_address.htype,
|
|
||||||
info -> hw_address.hlen,
|
|
||||||
info -> hw_address.haddr),
|
|
||||||
piaddr (info -> address));
|
piaddr (info -> address));
|
||||||
}
|
}
|
||||||
#endif /* USE_BPF_SEND */
|
#endif /* USE_BPF_SEND */
|
||||||
@@ -204,10 +201,7 @@ void if_register_receive (info, interface)
|
|||||||
|
|
||||||
if (ioctl (info -> rfdesc, BIOCSETF, &p) < 0)
|
if (ioctl (info -> rfdesc, BIOCSETF, &p) < 0)
|
||||||
error ("Can't install packet filter program: %m");
|
error ("Can't install packet filter program: %m");
|
||||||
note ("Listening on BPF/%s/%s",
|
note ("Listening on BPF/%s",
|
||||||
print_hw_addr (info -> hw_address.htype,
|
|
||||||
info -> hw_address.hlen,
|
|
||||||
info -> hw_address.haddr),
|
|
||||||
piaddr (info -> address));
|
piaddr (info -> address));
|
||||||
}
|
}
|
||||||
#endif /* USE_BPF_RECEIVE */
|
#endif /* USE_BPF_RECEIVE */
|
||||||
|
10
common/bpf.c
10
common/bpf.c
@@ -107,10 +107,7 @@ void if_register_send (info, interface)
|
|||||||
#else
|
#else
|
||||||
info -> wfdesc = info -> rfdesc;
|
info -> wfdesc = info -> rfdesc;
|
||||||
#endif
|
#endif
|
||||||
note ("Sending on BPF/%s/%s",
|
note ("Sending on BPF/%s",
|
||||||
print_hw_addr (info -> hw_address.htype,
|
|
||||||
info -> hw_address.hlen,
|
|
||||||
info -> hw_address.haddr),
|
|
||||||
piaddr (info -> address));
|
piaddr (info -> address));
|
||||||
}
|
}
|
||||||
#endif /* USE_BPF_SEND */
|
#endif /* USE_BPF_SEND */
|
||||||
@@ -204,10 +201,7 @@ void if_register_receive (info, interface)
|
|||||||
|
|
||||||
if (ioctl (info -> rfdesc, BIOCSETF, &p) < 0)
|
if (ioctl (info -> rfdesc, BIOCSETF, &p) < 0)
|
||||||
error ("Can't install packet filter program: %m");
|
error ("Can't install packet filter program: %m");
|
||||||
note ("Listening on BPF/%s/%s",
|
note ("Listening on BPF/%s",
|
||||||
print_hw_addr (info -> hw_address.htype,
|
|
||||||
info -> hw_address.hlen,
|
|
||||||
info -> hw_address.haddr),
|
|
||||||
piaddr (info -> address));
|
piaddr (info -> address));
|
||||||
}
|
}
|
||||||
#endif /* USE_BPF_RECEIVE */
|
#endif /* USE_BPF_RECEIVE */
|
||||||
|
Reference in New Issue
Block a user