X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/179d81291e52ac1a163f404adaaa6b156aace11e..e04c2d50fd96f3f31bc96851c55c6efecc10469c:/wireshark/packet-tripe.c diff --git a/wireshark/packet-tripe.c b/wireshark/packet-tripe.c index 5ea7b978..798ccd9e 100644 --- a/wireshark/packet-tripe.c +++ b/wireshark/packet-tripe.c @@ -7,7 +7,7 @@ * (c) 2003 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of Trivial IP Encryption (TrIPE). * @@ -15,12 +15,12 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * TrIPE is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with TrIPE; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -85,7 +85,7 @@ static void prefcb(void) { } static gint gethash(proto_tree *tt, int hf, tvbuff_t *b, gint off) { proto_tree_add_item(tt, hf, b, off, hashsz, FALSE); - return (off + hashsz); + return (off + hashsz); } static gint getmp(proto_tree *tt, const hfmp *hf, tvbuff_t *b, gint off) @@ -119,7 +119,7 @@ static gint getge(proto_tree *tt, const hfge *hf, tvbuff_t *b, gint off) proto_tree_add_item(tt, hf->hfy_len, b, off + 2 + len, 2, FALSE); proto_tree_add_item(tt, hf->hfy_val, b, off + 4 + len, len2, FALSE); r = off + len + len2 + 4; - } + } return (r); } @@ -306,7 +306,7 @@ static void dissect_tripe(tvbuff_t *b, packet_info *p, proto_tree *t) proto_tree_add_item(ti, hf_tripe_ct_ct, b, off, -1, FALSE); goto done; done:; - } + } } void proto_register_tripe(void)