main: correct peer-addr reference