Re: snmpd(8): Log correct engineid

2021-10-25 Thread Sebastian Benoit
ok Martijn van Duren(openbsd+t...@list.imperialat.at) on 2021.10.21 08:45:51 +0100: > ping > > On Sun, 2021-09-26 at 10:22 +0200, Martijn van Duren wrote: > > ober_get_nstring writes a pointer to buf and does not overwrite the > > content of buf itself. So pushing an array in there will result

Re: snmpd(8): Log correct engineid

2021-10-21 Thread Martijn van Duren
ping On Sun, 2021-09-26 at 10:22 +0200, Martijn van Duren wrote: > ober_get_nstring writes a pointer to buf and does not overwrite the > content of buf itself. So pushing an array in there will result in it > only writing the pointer address to the array, which is not exactly what > we want to

snmpd(8): Log correct engineid

2021-09-26 Thread Martijn van Duren
ober_get_nstring writes a pointer to buf and does not overwrite the content of buf itself. So pushing an array in there will result in it only writing the pointer address to the array, which is not exactly what we want to show. I choose to go for sizeof, instead of using the define to be a little