mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
Patch from Eric Norum <eric@cls.usask.ca> to make the loopback interface
actually work. This was tripped by EPICS.
This commit is contained in:
@@ -118,6 +118,7 @@ rtems_bsdnet_loopattach(dummy)
|
||||
ifp->if_type = IFT_LOOP;
|
||||
ifp->if_hdrlen = 0;
|
||||
ifp->if_addrlen = 0;
|
||||
ifp->if_snd.ifq_maxlen = ifqmaxlen;
|
||||
if_attach(ifp);
|
||||
#if NBPFILTER > 0
|
||||
bpfattach(ifp, DLT_NULL, sizeof(u_int));
|
||||
|
||||
Reference in New Issue
Block a user