Page MenuHomeFreeBSD

tcpdrop: improve handling of -C and -S
ClosedPublic

Authored by tuexen on Thu, Oct 1, 6:36 PM.
Tags
None
Referenced Files
F174434548: D60210.diff
Sat, Oct 3, 4:48 AM
F174431436: D60210.id.diff
Sat, Oct 3, 4:05 AM
F174339304: D60210.id188339.diff
Fri, Oct 2, 12:51 PM
F174337408: D60210.id188336.diff
Fri, Oct 2, 12:27 PM
F174333332: D60210.diff
Fri, Oct 2, 11:43 AM
Unknown Object (File)
Fri, Oct 2, 1:16 AM
Unknown Object (File)
Fri, Oct 2, 1:16 AM
Unknown Object (File)
Fri, Oct 2, 1:07 AM
Subscribers

Details

Summary

Handle empty strings for -Cand -S correctly.

Reported by: maxim

Test Plan

tcpdrop -l -C '' and tcpdrop -l -S '' should not list any TCP connection.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tuexen requested review of this revision.Thu, Oct 1, 6:36 PM

Yeah, it did the trick. Thanks.

This revision is now accepted and ready to land.Thu, Oct 1, 6:48 PM
This revision was automatically updated to reflect the committed changes.