better pcap

main
EmaMaker 2023-12-28 13:55:10 +00:00
parent ffb5006dcd
commit 9c0e3a6217
1 changed files with 10 additions and 5 deletions

View File

@ -309,11 +309,16 @@ int main(int argc, char* argv[])
/* ######################################################## */ /* ######################################################## */
/* PCAP Tracing */ /* PCAP Tracing */
if(tracing){ if(tracing){
ptph24.EnablePcapAll("ptp24", true); ptph24.EnablePcap("node2 - subnet24", ptp24.Get(0), true);
ptph35.EnablePcapAll("ptp35", true); ptph24.EnablePcap("node4 - subnet24", ptp24.Get(1), true);
ptph45.EnablePcapAll("ptp45", true); ptph49.EnablePcap("node4 - subnet49", ptp49.Get(0), true);
ptph39.EnablePcapAll("ptp39", true); ptph49.EnablePcap("node9 - subnet49", ptp49.Get(1), true);
ptph49.EnablePcapAll("ptp49", true); ptph39.EnablePcap("node3 - subnet39", ptp39.Get(0), true);
ptph39.EnablePcap("node9 - subnet39", ptp39.Get(1), true);
ptph45.EnablePcap("node4 - subnet45", ptp45.Get(0), true);
ptph45.EnablePcap("node5 - subnet45", ptp45.Get(1), true);
ptph35.EnablePcap("node3 - subnet35", ptp35.Get(0), true);
ptph35.EnablePcap("node5 - subnet35", ptp35.Get(1), true);
} }
/* ######################################################## */ /* ######################################################## */