cmdmon: fix data field name in handle_ntp_source_name()
Fixes: 93f6358916
("cmdmon: add request to get source name")
This commit is contained in:
parent
9ac582fa35
commit
356c475a6a
1 changed files with 1 additions and 1 deletions
2
cmdmon.c
2
cmdmon.c
|
@ -1211,7 +1211,7 @@ handle_ntp_source_name(CMD_Request *rx_message, CMD_Reply *tx_message)
|
|||
IPAddr addr;
|
||||
char *name;
|
||||
|
||||
UTI_IPNetworkToHost(&rx_message->data.ntp_data.ip_addr, &addr);
|
||||
UTI_IPNetworkToHost(&rx_message->data.ntp_source_name.ip_addr, &addr);
|
||||
name = NSR_GetName(&addr);
|
||||
|
||||
if (!name) {
|
||||
|
|
Loading…
Reference in a new issue