port: return timestamping iface in port properties
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>master
parent
8a349e557c
commit
7092db3030
2
port.c
2
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;
|
||||
|
|
Loading…
Reference in New Issue