Skip to content

Commit

Permalink
interfaces: unused return value
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Apr 5, 2024
1 parent 5220c4a commit ce71a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/inc/interfaces.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2601,7 +2601,7 @@ function interface_6to4_configure($interface, $wancfg, $update = false)

if (!is_ipaddrv4($ip4address) || is_private_ip($ip4address)) {
log_msg("The interface IPv4 address '{$ip4address}' on interface '{$interface}' is not public, not configuring 6to4 tunnel", LOG_ERR);
return false;
return;
}

/* create the long prefix notation for math, save the prefix length */
Expand Down

0 comments on commit ce71a40

Please sign in to comment.