Skip to content

Commit

Permalink
Merge pull request #4479 from vktg/xmlrpcdhcpfix
Browse files Browse the repository at this point in the history
  • Loading branch information
rbgarga committed Oct 8, 2020
2 parents 4b86249 + 64431f2 commit 5722cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/inc/util.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2626,7 +2626,7 @@ function route_get($target, $ipprotocol = '') {

$result = array();
foreach ($rtable[$family] as $item) {
if ($item['destination'] == $target) {
if (ip_in_subnet($target, $item['destination'])) {
$result[] = $item;
}
}
Expand Down

0 comments on commit 5722cba

Please sign in to comment.