summaryrefslogtreecommitdiff
path: root/print-ldp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-31 00:43:45 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-31 00:43:45 -0800
commit0dad1934af3db3f97d4371463089c8725dbfa26d (patch)
treeeaedbdb157d6aae6e44ade1830a6144b08a1eaaf /print-ldp.c
parent44c822e9f671b7a9b2e52b781cdbf38933cbdeaf (diff)
downloadtcpdump-0dad1934af3db3f97d4371463089c8725dbfa26d.tar.gz
Have ip{6}addr_string take a u_char * as the second argument.
Fix warnings that introduces.
Diffstat (limited to 'print-ldp.c')
-rw-r--r--print-ldp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-ldp.c b/print-ldp.c
index 4f89186a..2803aa33 100644
--- a/print-ldp.c
+++ b/print-ldp.c
@@ -593,7 +593,7 @@ ldp_pdu_print(netdissect_options *ndo,
/* print the LSR-ID, label-space & length */
ND_PRINT("%sLDP, Label-Space-ID: %s:%u, pdu-length: %u",
(ndo->ndo_vflag < 1) ? "" : "\n\t",
- ipaddr_string(ndo, &ldp_com_header->lsr_id),
+ ipaddr_string(ndo, ldp_com_header->lsr_id),
EXTRACT_BE_U_2(ldp_com_header->label_space),
pdu_len);