summaryrefslogtreecommitdiff
path: root/lib/bundle.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundle.c')
-rw-r--r--lib/bundle.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bundle.c b/lib/bundle.c
index a514ebb64..793eb82a9 100644
--- a/lib/bundle.c
+++ b/lib/bundle.c
@@ -207,6 +207,11 @@ bundle_parse__(const char *s, char **save_ptr,
if (error) {
return error;
}
+
+ if (!mf_nxm_header(bundle->dst.field->id)) {
+ return xasprintf("%s: experimenter OXM field '%s' not supported",
+ s, dst);
+ }
}
return NULL;