diff options
author | Warner Losh <imp@FreeBSD.org> | 2005-10-12 19:12:46 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2005-10-12 19:12:46 +0000 |
commit | 680d937a4bf3a6c79bdebd02f25dc976834df0c7 (patch) | |
tree | 1656050d053ccde7c425e1c86eac74f3c749bdf6 | |
parent | 33cd26c2cae225f6881c79ef9efefb1fcb1f6446 (diff) |
Notes
-rw-r--r-- | sys/net/if_fwsubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_fwsubr.c b/sys/net/if_fwsubr.c index a3afd3984b89..191c4f0f08ad 100644 --- a/sys/net/if_fwsubr.c +++ b/sys/net/if_fwsubr.c @@ -523,14 +523,14 @@ firewire_input(struct ifnet *ifp, struct mbuf *m, uint16_t src) /* * Byte swap the encapsulation header manually. */ - enc->ul[0] = htonl(enc->ul[0]); + enc->ul[0] = ntohl(enc->ul[0]); if (enc->unfrag.lf != 0) { m = m_pullup(m, 2*sizeof(uint32_t)); if (!m) return; enc = mtod(m, union fw_encap *); - enc->ul[1] = htonl(enc->ul[1]); + enc->ul[1] = ntohl(enc->ul[1]); m = firewire_input_fragment(fc, m, src); if (!m) return; |