aboutsummaryrefslogtreecommitdiffstats
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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ctrl/libhicnctrl/examples/create_face.c b/ctrl/libhicnctrl/examples/create_face.c
index ebd451de1..2152ff1e3 100644
--- a/ctrl/libhicnctrl/examples/create_face.c
+++ b/ctrl/libhicnctrl/examples/create_face.c
@@ -104,10 +104,8 @@ 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) {