~ubuntu-branches/ubuntu/intrepid/tcpdump/intrepid

« back to all changes in this revision

Viewing changes to print-vrrp.c

  • Committer: Bazaar Package Importer
  • Author(s): Romain Francoise
  • Date: 2005-12-10 14:26:20 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051210142620-t4ju0367w6j2x06i
Tags: 3.9.4-2
debian/patches/20_man_fixes.dpatch: Merge patch from A Costa
<agcosta@gis.net> fixing a few typos (closes: #342310).

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
#ifndef lint
27
27
static const char rcsid[] _U_ =
28
 
    "@(#) $Header: /tcpdump/master/tcpdump/print-vrrp.c,v 1.7.2.2 2003/11/16 08:51:55 guy Exp $";
 
28
    "@(#) $Header: /tcpdump/master/tcpdump/print-vrrp.c,v 1.9.2.1 2005/05/06 07:57:20 guy Exp $";
29
29
#endif
30
30
 
31
31
#ifdef HAVE_CONFIG_H
128
128
                if (auth_type == VRRP_AUTH_SIMPLE) { /* simple text password */
129
129
                        TCHECK(bp[7]);
130
130
                        printf(" auth \"");
131
 
                        fn_printn(bp, 8, NULL);
 
131
                        if (fn_printn(bp, 8, snapend)) {
 
132
                                printf("\"");
 
133
                                goto trunc;
 
134
                        }
132
135
                        printf("\"");
133
136
                }
134
137
        }