aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_ksocket.c
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2000-08-10 22:45:54 +0000
committerArchie Cobbs <archie@FreeBSD.org>2000-08-10 22:45:54 +0000
commit57b57be3ecfda78163844d6f2c135ab6269701ec (patch)
treecffa90cf7728b124d8a42556a6448dff18642ccc /sys/netgraph/ng_ksocket.c
parent8fccb7e95469dbfe41d7095fe6a4cd0204b025de (diff)
downloadsrc-57b57be3ecfda78163844d6f2c135ab6269701ec.tar.gz
src-57b57be3ecfda78163844d6f2c135ab6269701ec.zip
Take advantage of the new unsigned and hex integer types.
Notes
Notes: svn path=/head/; revision=64508
Diffstat (limited to 'sys/netgraph/ng_ksocket.c')
-rw-r--r--sys/netgraph/ng_ksocket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_ksocket.c b/sys/netgraph/ng_ksocket.c
index e521a91aaf41..7b2b759acece 100644
--- a/sys/netgraph/ng_ksocket.c
+++ b/sys/netgraph/ng_ksocket.c
@@ -161,8 +161,8 @@ static const struct ng_parse_type ng_ksocket_generic_sockdata_type = {
/* Type for a generic struct sockaddr */
static const struct ng_parse_struct_info ng_parse_generic_sockaddr_type_info = {
{
- { "len", &ng_parse_int8_type },
- { "family", &ng_parse_int8_type },
+ { "len", &ng_parse_uint8_type },
+ { "family", &ng_parse_uint8_type },
{ "data", &ng_ksocket_generic_sockdata_type },
{ NULL }
}