[sr-dev] git:master:4bd1d70c: tm: fixed condition in via_matching()