2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-22 09:58:01 +00:00

extract-ofp-fields: Improve error message.

Without this change, it's not obvious what needs to be edited.

Acked-by: Numan Siddique <nusiddiq@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
Ben Pfaff 2019-03-28 16:00:10 -07:00
parent 6b3aa6cd70
commit 8889a8cc33

View File

@ -757,7 +757,9 @@ ovs\-fields \- protocol header fields in OpenFlow and Open vSwitch
for f in fields:
if "used" not in f:
fatal("%s: field not documented" % f["mff"])
fatal("%s: field not documented "
"(please add documentation in lib/meta-flow.xml)"
% f["mff"])
if n_errors:
sys.exit(1)