Fix build after r313524

Reported-by: ohartmann@walstatt.org
This commit is contained in:
Ermal Luçi 2017-02-10 06:01:47 +00:00
parent 4616026faf
commit e97b60264d

View File

@ -636,7 +636,7 @@ udp_input(struct mbuf **mp, int *offp, int proto)
goto badunlocked;
}
UDP_PROBE(receive, NULL, last, ip, last, uh);
if (udp_append(last, ip, m, iphlen, udp_in) == 0)
if (udp_append(last, ip, m, iphlen, udpin) == 0)
INP_RUNLOCK(last);
inp_lost:
INP_INFO_RUNLOCK(pcbinfo);
@ -726,7 +726,7 @@ udp_input(struct mbuf **mp, int *offp, int proto)
}
UDP_PROBE(receive, NULL, inp, ip, inp, uh);
if (udp_append(inp, ip, m, iphlen, udp_in) == 0)
if (udp_append(inp, ip, m, iphlen, udpin) == 0)
INP_RUNLOCK(inp);
return (IPPROTO_DONE);