aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2006-05-04 16:50:52 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2006-05-04 16:50:52 +0000
commit8f88da8a1620d3e995f307ff5eb14bfa278e2fdf (patch)
tree8ce427b5ff981f820157335fcd7441492db6b6e5 /epan
parent65dbbfa0ca69f77417f94763735441b3e83e80f3 (diff)
From Menno Andriesse
By popular request (sort of...) here is a patch for the S5066 dissector to enable TCP port preference. svn path=/trunk/; revision=18092
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-s5066.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/epan/dissectors/packet-s5066.c b/epan/dissectors/packet-s5066.c
index fd17556e05..d8fad2b14d 100644
--- a/epan/dissectors/packet-s5066.c
+++ b/epan/dissectors/packet-s5066.c
@@ -765,7 +765,11 @@ proto_register_s5066(void)
"Whether the S5066 dissector should dissect editon 1 of the STANAG."
" This editon was never formally approved and is very rare. The common edition is editon 1.2.",
&s5066_edition_one);
-
+ prefs_register_uint_preference(s5066_module, "tcp.port",
+ "STANAG 5066 TCP Port",
+ "Set the port for STANAG 5066. (If other than the default 5066."
+ " This number is registered with IANA.)",
+ 10, &global_s5066_port);
}
void