RA: fix on-link/off-link handling