Skip to content
Permalink
Browse files

Closes #90: Add missing 'unicast' keyword.

Use the 'unicast' keyword for Quagga to show BGP routes.
Without this keyword the command is considered as invalid.
  • Loading branch information...
respawner committed Aug 30, 2019
1 parent 4de31f8 commit 801be065da7e2f92d4085c923be559f0333dcc03
Showing with 1 addition and 1 deletion.
  1. +1 −1 routers/quagga.php
@@ -37,7 +37,7 @@ protected function build_bgp($parameter) {
if (match_ipv4($parameter, false)) {
$cmd->add('ipv4');
}
$cmd->add($parameter, '"');
$cmd->add('unicast', $parameter, '"');
return array($cmd);
}

0 comments on commit 801be06

Please sign in to comment.
You can’t perform that action at this time.