summaryrefslogtreecommitdiffstats
path: root/src/cmd/ip/snoopy/rtp.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-02-14 19:42:28 +0000
committerrsc <devnull@localhost>2006-02-14 19:42:28 +0000
commita38a183626848f897085b4d2e54dad6d39146948 (patch)
tree208277c8824b8db08878f5f5d65fb1e484099ead /src/cmd/ip/snoopy/rtp.c
parent2eef1fa31676e58b0038f1c02dcc8df5e23149e6 (diff)
downloadplan9port-a38a183626848f897085b4d2e54dad6d39146948.tar.gz
plan9port-a38a183626848f897085b4d2e54dad6d39146948.zip
fixes
Diffstat (limited to 'src/cmd/ip/snoopy/rtp.c')
-rwxr-xr-xsrc/cmd/ip/snoopy/rtp.c20
1 files changed, 3 insertions, 17 deletions
diff --git a/src/cmd/ip/snoopy/rtp.c b/src/cmd/ip/snoopy/rtp.c
index 1e8e5ab8..e9160711 100755
--- a/src/cmd/ip/snoopy/rtp.c
+++ b/src/cmd/ip/snoopy/rtp.c
@@ -17,21 +17,6 @@ enum{
RTPLEN = 12, // Minimum size of an RTP header
};
-
-static void
-p_compile(Filter *f)
-{
- sysfatal("unknown rtp field: %s", f->s);
-}
-
-static int
-p_filter(Filter *f, Msg *m)
-{
- USED(f);
- USED(m);
- return 0;
-}
-
static int
p_seprint(Msg *m)
{
@@ -67,10 +52,11 @@ p_seprint(Msg *m)
Proto rtp = {
"rtp",
- p_compile,
- p_filter,
+ nil,
+ nil,
p_seprint,
nil,
nil,
+ nil,
defaultframer,
};