Re: bgpd fix holdtime in session_open

2023-10-27 Thread Theo Buehler
On Fri, Oct 27, 2023 at 11:27:11AM +0200, Claudio Jeker wrote: > While looking for something else I noticed this error. > > The holdtime is written into the buffer with ibuf_add_n16() so the htons() > call is done in the ibuf add call. So there is no need for the htons() > when assigning holdtime.

bgpd fix holdtime in session_open

2023-10-27 Thread Claudio Jeker
While looking for something else I noticed this error. The holdtime is written into the buffer with ibuf_add_n16() so the htons() call is done in the ibuf add call. So there is no need for the htons() when assigning holdtime. -- :wq Claudio Index: session.c =