The BPF dev node needs a minor number for tcpdump.

This commit is contained in:
Chris Johns 2015-06-16 13:17:19 +10:00
parent b5aca58594
commit 50500b5e97

View File

@ -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__ */