if (!qflag && vflag)
telnet_print(gndo, bp, length);
} else if (sport == BGP_PORT || dport == BGP_PORT)
- bgp_print(bp, length);
+ bgp_print(gndo, bp, length);
else if (sport == PPTP_PORT || dport == PPTP_PORT)
pptp_print(gndo, bp);
#ifdef TCPDUMP_DO_SMB
direction = (enum sunrpc_msg_type)EXTRACT_32BITS(&rp->rm_direction);
if (dport == NFS_PORT && direction == SUNRPC_CALL) {
(void)printf(": NFS request xid %u ", EXTRACT_32BITS(&rp->rm_xid));
- nfsreq_print_noaddr((u_char *)rp, fraglen, (u_char *)ip);
+ nfsreq_print_noaddr(gndo, (u_char *)rp, fraglen, (u_char *)ip);
return;
}
if (sport == NFS_PORT && direction == SUNRPC_REPLY) {
(void)printf(": NFS reply xid %u ", EXTRACT_32BITS(&rp->rm_xid));
- nfsreply_print_noaddr((u_char *)rp, fraglen, (u_char *)ip);
+ nfsreply_print_noaddr(gndo, (u_char *)rp, fraglen, (u_char *)ip);
return;
}
}
putchar(' ');
while (length-- && sp <= snapend) {
c = *sp++;
- safeputchar(c);
+ safeputchar(gndo, c);
}
putchar(']');
}