oops >.>

moved if statement to correct location. no need to check for dhcp
changes if we aren't using dhcp!