diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-04-18 13:12:43 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-04-18 20:13:20 +0000 |
commit | 5f3e0f4ce2b754776bd0f188ce4a0e321aa4c51f (patch) | |
tree | 1c73f7ab305f98cdf2461310e13154c85fb407c6 | |
parent | c3b2519ea178b3b97cf0c97c457474e68668f079 (diff) |
Style cleanups.
Change-Id: I7aa236660f59fb267eeeaa67e3a811abc77f0c10
Reviewed-on: https://code.wireshark.org/review/27013
Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r-- | epan/dissectors/packet-tcp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-tcp.c b/epan/dissectors/packet-tcp.c index de72b38170..59f77b2bb5 100644 --- a/epan/dissectors/packet-tcp.c +++ b/epan/dissectors/packet-tcp.c @@ -5364,12 +5364,12 @@ tcp_dissect_options(tvbuff_t *tvb, int offset, guint length, int eol, if ((opt == TCPOPT_EOL) || (opt == TCPOPT_NOP)) { int local_proto; proto_item* field_item; - /* We assume that the only options with no length are EOL and NOP options, - so that we can treat unknown options as having a minimum length of 2, - and at least be able to move on to the next option by using the length in the option. */ - if (opt == TCPOPT_EOL) - { + /* We assume that the only options with no length are EOL and + NOP options, so that we can treat unknown options as having + a minimum length of 2, and at least be able to move on to + the next option by using the length in the option. */ + if (opt == TCPOPT_EOL) { local_proto = proto_tcp_option_eol; } else if (opt == TCPOPT_NOP) { local_proto = proto_tcp_option_nop; |