Re: pfctl + bgpd for loop ugliness

2023-04-21 Thread Alexandr Nedvedicky
Hello, On Tue, Apr 18, 2023 at 02:43:26PM +0200, Theo Buehler wrote: > On Tue, Apr 18, 2023 at 02:06:46PM +0200, Claudio Jeker wrote: > > This and the others are IIRC streight from pfctl. So if someone wants a > > free commit :) > > How about this. pfctl and bgpd are the same, except that the bg

Re: pfctl + bgpd for loop ugliness

2023-04-18 Thread Denis Fondras
Le Tue, Apr 18, 2023 at 02:43:26PM +0200, Theo Buehler a écrit : > On Tue, Apr 18, 2023 at 02:06:46PM +0200, Claudio Jeker wrote: > > This and the others are IIRC streight from pfctl. So if someone wants a > > free commit :) > > How about this. pfctl and bgpd are the same, except that the bgpd on

pfctl + bgpd for loop ugliness

2023-04-18 Thread Theo Buehler
On Tue, Apr 18, 2023 at 02:06:46PM +0200, Claudio Jeker wrote: > This and the others are IIRC streight from pfctl. So if someone wants a > free commit :) How about this. pfctl and bgpd are the same, except that the bgpd one has a bsearch() nitems on top. pfctl regress is happy. Index: sbin/pfct