[rtems-libbsd commit] The BPF dev node needs a minor number for tcpdump.
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Jun 17 11:08:48 UTC 2015
This breaks the DHCP client.
On 16/06/15 05:21, Chris Johns wrote:
> Module: rtems-libbsd
> Branch: master
> Commit: 50500b5e973a7287e19cac2c260f143ed1a04ead
> Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=50500b5e973a7287e19cac2c260f143ed1a04ead
>
> Author: Chris Johns <chrisj at rtems.org>
> Date: Tue Jun 16 13:17:19 2015 +1000
>
> The BPF dev node needs a minor number for tcpdump.
>
> ---
>
> freebsd/sys/net/bpf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/freebsd/sys/net/bpf.c b/freebsd/sys/net/bpf.c
> index 7a4eaf9..1f9430b 100644
> --- a/freebsd/sys/net/bpf.c
> +++ b/freebsd/sys/net/bpf.c
> @@ -3005,7 +3005,7 @@ bpf_drvinit(void *unused)
> /* For compatibility */
> make_dev_alias(dev, "bpf0");
> #else /* __rtems__ */
> - rv = IMFS_make_generic_node("/dev/bpf", mode, &bpf_imfs_control, NULL);
> + rv = IMFS_make_generic_node("/dev/bpf0", mode, &bpf_imfs_control, NULL);
> BSD_ASSERT(rv == 0);
> #endif /* __rtems__ */
>
>
> _______________________________________________
> vc mailing list
> vc at rtems.org
> http://lists.rtems.org/mailman/listinfo/vc
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list