diff options
Diffstat (limited to 'packet-vrrp.c')
-rw-r--r-- | packet-vrrp.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packet-vrrp.c b/packet-vrrp.c index 63d63237f6..225ba50694 100644 --- a/packet-vrrp.c +++ b/packet-vrrp.c @@ -4,12 +4,11 @@ * * Heikki Vatiainen <hessu@cs.tut.fi> * - * $Id: packet-vrrp.c,v 1.17 2001/07/12 19:43:59 guy Exp $ + * $Id: packet-vrrp.c,v 1.18 2001/12/03 03:59:40 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> * Copyright 1998 Gerald Combs - * * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -261,5 +260,8 @@ void proto_register_vrrp(void) void proto_reg_handoff_vrrp(void) { - dissector_add("ip.proto", IP_PROTO_VRRP, dissect_vrrp, proto_vrrp); + dissector_handle_t vrrp_handle; + + vrrp_handle = create_dissector_handle(dissect_vrrp, proto_vrrp); + dissector_add("ip.proto", IP_PROTO_VRRP, vrrp_handle); } |