Skip to content

Commit

Permalink
Make *enchanced packet block* comment deactivatable through environme…
Browse files Browse the repository at this point in the history
…nt variable (#135)
  • Loading branch information
haga-rak authored Dec 31, 2023
1 parent 5d90be4 commit d2f6829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fluxzy.Core.Pcap/Pcapng/PcapngStreamWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public void Write(Stream stream, PacketCapture capture)
(uint) (longTimeSpan & 0xFFFFFFFF),
capture.Data.Length,
capture.Data.Length,
"fluxzy"
Environment.GetEnvironmentVariable("FLUXZY_PCAP_PACKET_COMMENT") ?? "fluxzy"
);

// This need to be corrected if MTU is very large
Expand Down

0 comments on commit d2f6829

Please sign in to comment.