agent: fix inversed lan/wan key listing