diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-10-03 10:13:07 -0400 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-10-03 14:28:42 +0000 |
commit | bb5daa6ae9070a1093b5fbc8f078d9eaf101d769 (patch) | |
tree | 9af6b8bd3bbcaa75ea90adf0709069d245e14c2d /epan/dissectors/packet-rlogin.c | |
parent | 451de17929eaa48af07bfc6154a9603318121562 (diff) |
Add editor modelines; Adjust whitespace as needed.
Change-Id: I391cdf80a6e4ae5b0f4068e0500a90d013588f8a
Reviewed-on: https://code.wireshark.org/review/4442
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-rlogin.c')
-rw-r--r-- | epan/dissectors/packet-rlogin.c | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/epan/dissectors/packet-rlogin.c b/epan/dissectors/packet-rlogin.c index d5c157e500..7536d5ca19 100644 --- a/epan/dissectors/packet-rlogin.c +++ b/epan/dissectors/packet-rlogin.c @@ -69,11 +69,11 @@ static int hf_data = -1; static const value_string control_message_vals[] = { - { 0x02, "Clear buffer" }, - { 0x10, "Raw mode" }, - { 0x20, "Cooked mode" }, - { 0x80, "Window size request" }, - { 0, NULL } + { 0x02, "Clear buffer" }, + { 0x10, "Raw mode" }, + { 0x20, "Cooked mode" }, + { 0x80, "Window size request" }, + { 0, NULL } }; @@ -179,10 +179,10 @@ rlogin_state_machine(rlogin_hash_entry_t *hash_info, tvbuff_t *tvb, packet_info /* Dissect details of packet */ static void rlogin_display(rlogin_hash_entry_t *hash_info, - tvbuff_t *tvb, - packet_info *pinfo, - proto_tree *tree, - struct tcpinfo *tcpinfo) + tvbuff_t *tvb, + packet_info *pinfo, + proto_tree *tree, + struct tcpinfo *tcpinfo) { /* Display the proto tree */ int offset = 0; @@ -586,3 +586,16 @@ void proto_reg_handoff_rlogin(void) dissector_handle_t rlogin_handle = new_create_dissector_handle(dissect_rlogin,proto_rlogin); dissector_add_uint("tcp.port", RLOGIN_PORT, rlogin_handle); } + +/* + * Editor modelines - http://www.wireshark.org/tools/modelines.html + * + * Local variables: + * c-basic-offset: 8 + * tab-width: 8 + * indent-tabs-mode: t + * End: + * + * vi: set shiftwidth=8 tabstop=8 noexpandtab: + * :indentSize=8:tabSize=8:noTabs=false: + */ |