[Linuxptp-devel] [PATCHv5 12/12] port: return timestamping iface in port properties
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Hangbin L. <liu...@gm...> - 2017-09-30 08:26:20
|
Signed-off-by: Hangbin Liu <liu...@gm...> --- port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port.c b/port.c index 0335633..b2e534d 100644 --- a/port.c +++ b/port.c @@ -861,7 +861,7 @@ static int port_management_fill_response(struct port *target, else ppn->port_state = target->state; ppn->timestamping = target->timestamping; - ptp_text_set(&ppn->interface, target->name); + ptp_text_set(&ppn->interface, target->iface->ts_label); datalen = sizeof(*ppn) + ppn->interface.length; respond = 1; break; -- 2.5.5 |