diff options
author | Evan Huus <eapache@gmail.com> | 2013-09-07 12:51:29 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-09-07 12:51:29 +0000 |
commit | 2e299ec9109873ea0f6a5c6c7e71c0721ba2ed4d (patch) | |
tree | f77eb56babd69aed16bf97c09441572b1646976d /epan/dissectors/packet-l2tp.c | |
parent | 7d3d67407cd4b57cac6f6253a41ced5215c97207 (diff) |
Add modelines, use consistent indentation in address.h
Use the "do { } while (0)" trick to make the macros behave like regular function
calls syntatically.
Fix one dissector that wasn't using semicolons after the macro calls.
svn path=/trunk/; revision=51819
Diffstat (limited to 'epan/dissectors/packet-l2tp.c')
-rw-r--r-- | epan/dissectors/packet-l2tp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-l2tp.c b/epan/dissectors/packet-l2tp.c index 289dea91eb..c3062d4c02 100644 --- a/epan/dissectors/packet-l2tp.c +++ b/epan/dissectors/packet-l2tp.c @@ -2272,8 +2272,8 @@ process_l2tpv3_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int tunnel = &tmp_tunnel; memset(tunnel, 0, sizeof(l2tpv3_tunnel_t)); tunnel->conv = l2tp_conv; - SE_COPY_ADDRESS(&tunnel->lcce1, &pinfo->src) - SE_COPY_ADDRESS(&tunnel->lcce2, &pinfo->dst) + SE_COPY_ADDRESS(&tunnel->lcce1, &pinfo->src); + SE_COPY_ADDRESS(&tunnel->lcce2, &pinfo->dst); } } } |