diff options
author | archie <archie@FreeBSD.org> | 2000-08-10 22:45:54 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2000-08-10 22:45:54 +0000 |
commit | 91912098c3157074ed463a4abc7a017ad139c988 (patch) | |
tree | 161ead128c5bf9a6f2f11f6c8e543fbcaa650e17 /sys/netgraph/ng_bpf.c | |
parent | 16765ea99728e9b39c638c771a3e710f85ef76c3 (diff) | |
download | FreeBSD-src-91912098c3157074ed463a4abc7a017ad139c988.zip FreeBSD-src-91912098c3157074ed463a4abc7a017ad139c988.tar.gz |
Take advantage of the new unsigned and hex integer types.
Diffstat (limited to 'sys/netgraph/ng_bpf.c')
-rw-r--r-- | sys/netgraph/ng_bpf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netgraph/ng_bpf.c b/sys/netgraph/ng_bpf.c index 8ec7bac..c198b11 100644 --- a/sys/netgraph/ng_bpf.c +++ b/sys/netgraph/ng_bpf.c @@ -94,10 +94,10 @@ static int ng_bpf_setprog(hook_p hook, const struct ng_bpf_hookprog *hp); /* Parse type for one struct bfp_insn */ static const struct ng_parse_struct_info ng_bpf_insn_type_info = { { - { "code", &ng_parse_int16_type }, - { "jt", &ng_parse_int8_type }, - { "jf", &ng_parse_int8_type }, - { "k", &ng_parse_int32_type }, + { "code", &ng_parse_hint16_type }, + { "jt", &ng_parse_uint8_type }, + { "jf", &ng_parse_uint8_type }, + { "k", &ng_parse_uint32_type }, { NULL } } }; |