Hi there! Can you explain the purpose of the DOS_TFE preprocessor symbol? It appears to guard the inclusion of pcap.h in tfe.c, but it also triggers the inclusion of the tfe_set_standard_interface( ) function and a call to tfe_set_standard_interface( ). The latter two things have a very nasty side effect in that they end up overriding the interface selection in the config and instead force whatever interface 0 would be. On some of my systems, that's docker0, which really doesn't help things.
Hi there! Can you explain the purpose of the DOS_TFE preprocessor symbol? It appears to guard the inclusion of
pcap.hintfe.c, but it also triggers the inclusion of thetfe_set_standard_interface( )function and a call totfe_set_standard_interface( ). The latter two things have a very nasty side effect in that they end up overriding the interface selection in the config and instead force whatever interface 0 would be. On some of my systems, that'sdocker0, which really doesn't help things.