Skip to content

Commit

Permalink
firewall/alias, forgot to select external aliases in legacy_list_alia…
Browse files Browse the repository at this point in the history
…ses()
  • Loading branch information
AdSchellevis committed Jul 6, 2018
1 parent c0838dd commit c2e75d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/inc/legacy_bindings.inc
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function legacy_list_aliases($type)
$result = array();
if (isset($config['aliases']['alias'])) {
foreach ($config['aliases']['alias'] as $alias) {
if (!empty($alias['address']) || !empty($alias['url']) || !empty($alias['aliasurl'])) {
if (!empty($alias['address']) || !empty($alias['url']) || !empty($alias['aliasurl']) || $alias['type'] == 'external') {
if ($type == "port") {
if (preg_match("/port/i", $alias['type'])) {
$result[] = $alias;
Expand Down

0 comments on commit c2e75d2

Please sign in to comment.