send UNKNOWN_ID error for unknown management TLVs

Signed-off-by: Geoff Salmon <gsalmon@se-instruments.com>
master
Geoff Salmon 2013-02-04 13:05:38 -05:00 committed by Richard Cochran
parent 1500605ff5
commit 0e497b9a45
1 changed files with 1 additions and 0 deletions

1
port.c
View File

@ -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);
break;
default:
port_management_send_error(p, ingress, msg, NO_SUCH_ID);
return -1;
}
return 0;