aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/libhicnctrl/src/commands/command_face.c
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2022-09-22 13:47:55 +0000
committerGerrit Code Review <gerrit@fd.io>2022-09-22 13:47:55 +0000
commitb498b1d3fe2684e0233986551fa581a07148e22b (patch)
tree0cc5203e8be42408d9910166f479256d48523436 /ctrl/libhicnctrl/src/commands/command_face.c
parent356530fa42140a9f0ad43269125fd96ad1ced594 (diff)
parentbd26d18978861b24c5707dbaa24dac76133425e2 (diff)
Merge "fix(libhicnctrl): fix new listener validation during face or connection creation"
Diffstat (limited to 'ctrl/libhicnctrl/src/commands/command_face.c')
-rw-r--r--ctrl/libhicnctrl/src/commands/command_face.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ctrl/libhicnctrl/src/commands/command_face.c b/ctrl/libhicnctrl/src/commands/command_face.c
index 68a71f9ec..2ea0f5cc3 100644
--- a/ctrl/libhicnctrl/src/commands/command_face.c
+++ b/ctrl/libhicnctrl/src/commands/command_face.c
@@ -89,8 +89,8 @@ static const command_parser_t command_face_create5 = {
.action = ACTION_CREATE,
.object_type = OBJECT_TYPE_FACE,
.nparams = 5,
- .parameters = {type_tcp_udp, remote_address, remote_port, local_address,
- local_port},
+ .parameters = {type_tcp_udp, local_address, local_port, remote_address,
+ remote_port},
.post_hook = (parser_hook_t)on_face_create,
};
COMMAND_REGISTER(command_face_create5);
@@ -99,8 +99,8 @@ static const command_parser_t command_face_create6 = {
.action = ACTION_CREATE,
.object_type = OBJECT_TYPE_FACE,
.nparams = 6,
- .parameters = {type_tcp_udp, remote_address, remote_port, local_address,
- local_port, interface},
+ .parameters = {type_tcp_udp, local_address, local_port, remote_address,
+ remote_port, interface},
.post_hook = (parser_hook_t)on_face_create,
};
COMMAND_REGISTER(command_face_create6);