[sr-dev] git:master:98ee014a: core: fix an error in check_via_address, reported from Mojtaba, mespio at gmail dot com