summaryrefslogtreecommitdiffstats
path: root/ctrl/libhicnctrl/examples/create_face.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctrl/libhicnctrl/examples/create_face.c')
-rw-r--r--ctrl/libhicnctrl/examples/create_face.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctrl/libhicnctrl/examples/create_face.c b/ctrl/libhicnctrl/examples/create_face.c
index dcacaeff1..5f92f5906 100644
--- a/ctrl/libhicnctrl/examples/create_face.c
+++ b/ctrl/libhicnctrl/examples/create_face.c
@@ -107,7 +107,10 @@ int main() {
.remote_port = 6000,
.admin_state = FACE_STATE_UNDEFINED,
.state = FACE_STATE_UNDEFINED,
+#ifdef WITH_POLICY
+ .priority = 0,
.tags = POLICY_TAGS_EMPTY,
+#endif /* WITH_POLICY */
},
};
if (netdevice_set_name(&face.face.netdevice, if_name) < 0) {