Fixed up wan and lan ip functions.