mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-03 03:48:28 +08:00
The BPF dev node needs a minor number for tcpdump.
This commit is contained in:
parent
b5aca58594
commit
50500b5e97
@ -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__ */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user