diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-04-03 14:38:03 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-04-03 14:38:07 +0200 |
commit | 1095f1011a8bcdc6b4893d21ac4a423233e7f408 (patch) | |
tree | fa923acd98cf1d34ce3def8faecafbf80ac72c8e /print-dhcp6.c | |
parent | dec3c3e848b473a81c9e4872ac11914d70e04d91 (diff) | |
download | tcpdump-1095f1011a8bcdc6b4893d21ac4a423233e7f408.tar.gz |
DNS: Rename a printer
Rename ns_nprint() to fqdn_print(), with _print suffix like in most
similar cases.
Moreover:
Move a misplaced comment.
Diffstat (limited to 'print-dhcp6.c')
-rw-r--r-- | print-dhcp6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-dhcp6.c b/print-dhcp6.c index 1dd6e4ea..590b9c50 100644 --- a/print-dhcp6.c +++ b/print-dhcp6.c @@ -569,7 +569,7 @@ dhcp6opt_print(netdissect_options *ndo, tp = (const u_char *)(dh6o + 1); while (tp < cp + sizeof(*dh6o) + optlen) { ND_PRINT(" "); - if ((tp = ns_nprint(ndo, tp, cp + sizeof(*dh6o) + optlen)) == NULL) + if ((tp = fqdn_print(ndo, tp, cp + sizeof(*dh6o) + optlen)) == NULL) goto trunc; } ND_PRINT(")"); @@ -724,7 +724,7 @@ dhcp6opt_print(netdissect_options *ndo, break; case DH6OPT_NTP_SUBOPTION_SRV_FQDN: ND_PRINT(" "); - if (ns_nprint(ndo, tp, tp + subopt_len) == NULL) + if (fqdn_print(ndo, tp, tp + subopt_len) == NULL) goto trunc; break; default: |