use m_pkthdr.len for FIONREAD, correctly indicates how much data is available
authorderaadt <deraadt@openbsd.org>
Fri, 15 Dec 1995 01:40:58 +0000 (01:40 +0000)
committerderaadt <deraadt@openbsd.org>
Fri, 15 Dec 1995 01:40:58 +0000 (01:40 +0000)
commitc9011b5a343b804a2c17e7568f76d835a0562746
treeaacf54058aa8f55bd2e92aeb65230310ec17e643
parent7f8da8d504f4f67a920e992af09f141602a3c5d8
use m_pkthdr.len for FIONREAD, correctly indicates how much data is available
sys/net/if_tun.c