send UNKNOWN_ID error for unknown management TLVs
Signed-off-by: Geoff Salmon <gsalmon@se-instruments.com>master
parent
1500605ff5
commit
0e497b9a45
1
port.c
1
port.c
|
@ -1725,6 +1725,7 @@ int port_manage(struct port *p, struct port *ingress, struct ptp_message *msg)
|
||||||
port_management_send_error(p, ingress, msg, NOT_SUPPORTED);
|
port_management_send_error(p, ingress, msg, NOT_SUPPORTED);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
port_management_send_error(p, ingress, msg, NO_SUCH_ID);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue