Re: bgpd, retire F_RTLABEL flag

2022-06-07 Thread Claudio Jeker
On Tue, Jun 07, 2022 at 05:47:52PM +0200, Theo Buehler wrote: > On Tue, Jun 07, 2022 at 05:09:30PM +0200, Claudio Jeker wrote: > > The F_RTLABEL flag does nothing. So just remove it. > > Checking the rtlabelid != 0 is equivalent. > > Doesn't twiddling the F_RTLABEL potentially change the outcome

Re: bgpd, retire F_RTLABEL flag

2022-06-07 Thread Theo Buehler
On Tue, Jun 07, 2022 at 05:09:30PM +0200, Claudio Jeker wrote: > The F_RTLABEL flag does nothing. So just remove it. > Checking the rtlabelid != 0 is equivalent. Doesn't twiddling the F_RTLABEL potentially change the outcome of the two if (flags != oflags) changed = 1;

bgpd, retire F_RTLABEL flag

2022-06-07 Thread Claudio Jeker
The F_RTLABEL flag does nothing. So just remove it. Checking the rtlabelid != 0 is equivalent. -- :wq Claudio Index: bgpd.h === RCS file: /cvs/src/usr.sbin/bgpd/bgpd.h,v retrieving revision 1.426 diff -u -p -r1.426 bgpd.h ---