diff options
author | thompsa <thompsa@FreeBSD.org> | 2007-10-18 21:52:31 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2007-10-18 21:52:31 +0000 |
commit | 1949642b85afd13ac8628d8538dc4a6e0e3eac25 (patch) | |
tree | e3141bfabe64561b9e99cb40034bd322a8edcc67 /sys/net/ethernet.h | |
parent | fd172ed3272b523c5499832d7098b6766bac7e4f (diff) | |
download | FreeBSD-src-1949642b85afd13ac8628d8538dc4a6e0e3eac25.zip FreeBSD-src-1949642b85afd13ac8628d8538dc4a6e0e3eac25.tar.gz |
Use a uint16_t type for the vlan tag rather an int.
Diffstat (limited to 'sys/net/ethernet.h')
-rw-r--r-- | sys/net/ethernet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/ethernet.h b/sys/net/ethernet.h index c5b6118..9db90a5 100644 --- a/sys/net/ethernet.h +++ b/sys/net/ethernet.h @@ -386,7 +386,7 @@ extern int ether_output_frame(struct ifnet *, struct mbuf *); extern char *ether_sprintf(const u_int8_t *); void ether_vlan_mtap(struct bpf_if *, struct mbuf *, void *, u_int); -struct mbuf *ether_vlanencap(struct mbuf *, int); +struct mbuf *ether_vlanencap(struct mbuf *, uint16_t); #else /* _KERNEL */ |