Change setLocalNiAddress() to setLocalConf().