diff options
author | Thomas Haller <thaller@redhat.com> | 2021-01-26 12:43:11 +0100 |
---|---|---|
committer | Jiri Pirko <jiri@nvidia.com> | 2021-01-27 09:10:20 +0100 |
commit | 13438db7a61f2b9f317deb4be50beaf29274d4e9 (patch) | |
tree | 47541caea005104dc87c0b485be53092f412e65a | |
parent | 27403f898372e99b0ad916bebe2bc29e95bee1f0 (diff) | |
download | libndp-13438db7a61f2b9f317deb4be50beaf29274d4e9.tar.gz |
ndptool: fix printing dnssl lifetime in ndptool
Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
-rw-r--r-- | utils/ndptool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ndptool.c b/utils/ndptool.c index 4eca83d..3992a1b 100644 --- a/utils/ndptool.c +++ b/utils/ndptool.c @@ -302,7 +302,7 @@ static int msgrcv_handler_func(struct ndp *ndp, struct ndp_msg *msg, void *priv) pr_out("%s", domain); } pr_out(", lifetime: "); - pr_out_lft(ndp_msg_opt_rdnss_lifetime(msg, offset)); + pr_out_lft(ndp_msg_opt_dnssl_lifetime(msg, offset)); pr_out("\n"); } } else if (msg_type == NDP_MSG_NS) { |