summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/ndptool.c2
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) {