Re: simplify valid carp interface check in carp_proto_input_if

2018-01-09 Thread David Gwynne
so carp_output calls ether_output, which makes it pretty obvious that carp is for ethernet only. ie, this diff is safe. > On 10 Jan 2018, at 14:05, David Gwynne wrote: > > this copies the "valid interface" check from carp6_proto_input_if > to carp_proto_input_if. the current check looks to see

simplify valid carp interface check in carp_proto_input_if

2018-01-09 Thread David Gwynne
this copies the "valid interface" check from carp6_proto_input_if to carp_proto_input_if. the current check looks to see if the current interface is carp, or if the current interface has any carps attached to it. the carp6_proto_input_if check just checks if the current interface is IFT_CARP or not