Diff for /src/sys/net/bpf.c between versions 1.14 and 1.15

version 1.14, 2004/03/23 22:19:05 version 1.15, 2004/04/22 04:21:29
Line 1324  bpfattach(ifp, dlt, hdrlen) Line 1324  bpfattach(ifp, dlt, hdrlen)
         u_int dlt, hdrlen;          u_int dlt, hdrlen;
 {  {
         struct bpf_if *bp;          struct bpf_if *bp;
        bp = (struct bpf_if *)malloc(sizeof(*bp), M_BPF, M_NOWAIT | M_ZERO);
        if (bp == 0)        bp = malloc(sizeof(*bp), M_BPF, M_WAITOK | M_ZERO);
                panic("bpfattach"); 
   
         bp->bif_ifp = ifp;          bp->bif_ifp = ifp;
         bp->bif_dlt = dlt;          bp->bif_dlt = dlt;

Removed from v.1.14  
changed lines
  Added in v.1.15