> > + stop_packet_forwarding(); > > force_quit() calls stop_packet_forwarding() if test_done is 0. > So, there is no difference in test_done == 0 case. > If test_done is not zero, stop_packet_forwarding() just logs > "Packet forwarding not started" and does nothing. So, the > difference is only in error message. Is it intentional? > > > + force_quit(); > > }
Will fix in new version, it was a logic error.