This keyword is not portable and also optional in bash.
Fixes test on FreeBSD.

CC: Miguel Angel Ajo <[email protected]>
Fixes: 508b7f961bd6 ("ovn: l3ha, make is_chassis_active aware of 
gateway_chassis")
Signed-off-by: Ilya Maximets <[email protected]>
---
 tests/ovn.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/ovn.at b/tests/ovn.at
index afefb8ad6..b8a8ecffc 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -9519,7 +9519,7 @@ for chassis in gw1 gw2 hv1 hv2; do
     ovs-ofctl dump-flows br-int
     echo "--------------------------"
 done
-function bfd_dump() {
+bfd_dump() {
     for chassis in gw1 gw2 hv1 hv2; do
         as $chassis
         echo "------ $chassis dump (BFD)----"
-- 
2.17.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to