diff: simplify ospf6d code

2020-08-21 Thread Jan Klemkow
Hi, The following diff simplifies a switch case statement with no functional change. In case of IMSG_CTL_SHOW_DATABASE duplicated code is removed. This part of the code is now the same as in ospfd. In case of IMSG_CTL_SHOW_DB_INTRA the code was also duplicated and due to a missing continue the

Re: diff: simplify ospf6d code

2020-08-21 Thread Claudio Jeker
On Fri, Aug 21, 2020 at 10:17:16AM +0200, Theo Buehler wrote: > On Fri, Aug 21, 2020 at 10:08:50AM +0200, Jan Klemkow wrote: > > Hi, > > > > The following diff simplifies a switch case statement with no functional > > change. > > > > In case of IMSG_CTL_SHOW_DATABASE duplicated code is removed.

Re: diff: simplify ospf6d code

2020-08-21 Thread Theo Buehler
On Fri, Aug 21, 2020 at 10:08:50AM +0200, Jan Klemkow wrote: > Hi, > > The following diff simplifies a switch case statement with no functional > change. > > In case of IMSG_CTL_SHOW_DATABASE duplicated code is removed. This part > of the code is now the same as in ospfd. This part looks fine.

Re: diff: simplify ospf6d code

2020-08-21 Thread Claudio Jeker
On Fri, Aug 21, 2020 at 10:08:50AM +0200, Jan Klemkow wrote: > Hi, > > The following diff simplifies a switch case statement with no functional > change. > > In case of IMSG_CTL_SHOW_DATABASE duplicated code is removed. This part > of the code is now the same as in ospfd. > > In case of