Skip to content

Commit

Permalink
[BF] correct url for looking up a route
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Sep 15, 2021
1 parent ca35165 commit 1b650ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/services/lg/routes.foil.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
// need to split the ip/netmask so we don't urlencode() the '/' between them:
list( $ip, $mask ) = explode( '/', $r->network );
?>
<a href="<?= url('/lg') . '/' . $t->lg->router()->handle ?>/route/<?= urlencode($ip) ?>/<?= $mask ?>/table/master<?= (int)$t->lg->router()->software === \IXP\Models\Router::SOFTWARE_BIRD2 ? $t->lg->router()->protocol() : '' ?>"
<a href="<?= url('/lg') . '/' . $t->lg->router()->handle ?>/route/<?= urlencode($ip) ?>/<?= $mask ?>/table/master<?= (int)$t->lg->router()->software === \IXP\Models\Router::SOFTWARE_BIRD2 ? $t->lg->router()->protocol()[-1] : '' ?>"
data-toggle="modal" data-target="#route-modal">
<?= $r->network ?>
</a>
Expand Down

0 comments on commit 1b650ad

Please sign in to comment.