diff options
author | rsc <devnull@localhost> | 2006-02-14 19:42:28 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-02-14 19:42:28 +0000 |
commit | a38a183626848f897085b4d2e54dad6d39146948 (patch) | |
tree | 208277c8824b8db08878f5f5d65fb1e484099ead /src/cmd/ip/snoopy/dhcp.c | |
parent | 2eef1fa31676e58b0038f1c02dcc8df5e23149e6 (diff) | |
download | plan9port-a38a183626848f897085b4d2e54dad6d39146948.tar.gz plan9port-a38a183626848f897085b4d2e54dad6d39146948.tar.bz2 plan9port-a38a183626848f897085b4d2e54dad6d39146948.zip |
fixes
Diffstat (limited to 'src/cmd/ip/snoopy/dhcp.c')
-rwxr-xr-x | src/cmd/ip/snoopy/dhcp.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/cmd/ip/snoopy/dhcp.c b/src/cmd/ip/snoopy/dhcp.c index 8b7649cf..2d041f8b 100755 --- a/src/cmd/ip/snoopy/dhcp.c +++ b/src/cmd/ip/snoopy/dhcp.c @@ -106,15 +106,7 @@ enum static void p_compile(Filter *f) { - sysfatal("unknown bootp field: %s", f->s); -} - -static int -p_filter(Filter *f, Msg *m) -{ - USED(f); - USED(m); - return 0; + sysfatal("unknown dhcp field: %s", f->s); } /* @@ -474,10 +466,11 @@ Proto dhcp = { "dhcp", p_compile, - p_filter, + nil, p_seprint, nil, nil, + nil, defaultframer, }; |