summaryrefslogtreecommitdiff
path: root/print-fr.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-04-21 14:44:55 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-04-21 15:17:22 +0200
commit3018f3698b1463d4577ea8b412f079f4381b7605 (patch)
treea4bda8e5964715ab6806cddff75da97f15395108 /print-fr.c
parente4ecc39f4ebb05aa2fb8293aaa71ffbe0a340ff1 (diff)
downloadtcpdump-4.99.tar.gz
Put "}" at beginning of line with "else" to keep a consistent styletcpdump-4.99
(backported from commit 113ed15b7ecae4a3523454344f9b3438ea97fdc7) [skip ci]
Diffstat (limited to 'print-fr.c')
-rw-r--r--print-fr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/print-fr.c b/print-fr.c
index f0d7fbeb..853dc2f4 100644
--- a/print-fr.c
+++ b/print-fr.c
@@ -1142,8 +1142,7 @@ fr_q933_print_ie_codeset_0_5(netdissect_options *ndo, u_int iecode,
dlci = ((GET_U_1(p) & 0x3F) << 4) | ((GET_U_1(p + 1) & 0x78) >> 3);
if (ielength == 4) {
dlci = (dlci << 6) | ((GET_U_1(p + 2) & 0x7E) >> 1);
- }
- else if (ielength == 5) {
+ } else if (ielength == 5) {
dlci = (dlci << 13) | (GET_U_1(p + 2) & 0x7F) | ((GET_U_1(p + 3) & 0x7E) >> 1);
}