swconfig: fix backward compatibility