Fixed a problem where nextPacket was returning nil
A description of this package.
{ "name": "PacketCaptureLibpcap", "path": "/usr/src/package", "targets": [ { "name": "PacketCaptureLibpcapTests", "path": "Tests/PacketCaptureLibpcapTests", "type": "test", "c99name": "PacketCaptureLibpcapTests", "sources": [ "PacketCaptureLibpcapTests.swift", "XCTestManifests.swift" ], "module_type": "SwiftTarget", "target_dependencies": [ "PacketCaptureLibpcap" ] }, { "name": "PacketCaptureLibpcap", "path": "Sources/PacketCaptureLibpcap", "type": "library", "c99name": "PacketCaptureLibpcap", "sources": [ "CaptureDevice.swift", "PcapFile.swift" ], "module_type": "SwiftTarget", "product_memberships": [ "PacketCaptureLibpcap" ], "product_dependencies": [ "PacketStream", "SwiftPCAP" ] } ], "products": [ { "name": "PacketCaptureLibpcap", "type": { "library": [ "automatic" ] }, "targets": [ "PacketCaptureLibpcap" ] } ], "platforms": [ { "name": "macos", "version": "10.15" } ], "dependencies": [ { "url": "https://github.com/OperatorFoundation/PacketStream.git", "type": "sourceControl", "identity": "packetstream", "requirement": { "range": [ { "lower_bound": "0.2.1", "upper_bound": "1.0.0" } ] } }, { "url": "https://github.com/OperatorFoundation/SwiftPCAP.git", "type": "sourceControl", "identity": "swiftpcap", "requirement": { "range": [ { "lower_bound": "1.3.0", "upper_bound": "2.0.0" } ] } } ], "tools_version": "5.3", "manifest_display_name": "PacketCaptureLibpcap", "swift_languages_versions": [ "5" ] }
{ "name": "PacketCaptureLibpcap", "targets": [ { "name": "PacketCaptureLibpcap", "type": "regular", "exclude": [], "settings": [], "resources": [], "dependencies": [ { "byName": [ "PacketStream", null ] }, { "byName": [ "SwiftPCAP", null ] } ], "packageAccess": false }, { "name": "PacketCaptureLibpcapTests", "type": "test", "exclude": [], "settings": [], "resources": [], "dependencies": [ { "byName": [ "PacketCaptureLibpcap", null ] } ], "packageAccess": false } ], "products": [ { "name": "PacketCaptureLibpcap", "type": { "library": [ "automatic" ] }, "targets": [ "PacketCaptureLibpcap" ] } ], "pkgConfig": null, "platforms": [ { "options": [], "version": "10.15", "platformName": "macos" } ], "providers": null, "packageKind": { "root": [ "/usr/src/package" ] }, "dependencies": [ { "sourceControl": [ { "identity": "packetstream", "location": { "remote": [ { "urlString": "https://github.com/OperatorFoundation/PacketStream.git" } ] }, "requirement": { "range": [ { "lowerBound": "0.2.1", "upperBound": "1.0.0" } ] }, "productFilter": null } ] }, { "sourceControl": [ { "identity": "swiftpcap", "location": { "remote": [ { "urlString": "https://github.com/OperatorFoundation/SwiftPCAP.git" } ] }, "requirement": { "range": [ { "lowerBound": "1.3.0", "upperBound": "2.0.0" } ] }, "productFilter": null } ] } ], "toolsVersion": { "_version": "5.3.0" }, "cLanguageStandard": null, "cxxLanguageStandard": null, "swiftLanguageVersions": [ "5" ] }
{ "url": "/usr/src/package", "name": "PacketCaptureLibpcap", "path": "/usr/src/package", "version": "unspecified", "identity": "package", "dependencies": [ { "url": "https://github.com/OperatorFoundation/PacketStream.git", "name": "PacketStream", "path": "/usr/src/package/.build/checkouts/PacketStream", "version": "0.2.1", "identity": "packetstream", "dependencies": [] }, { "url": "https://github.com/OperatorFoundation/SwiftPCAP.git", "name": "SwiftPCAP", "path": "/usr/src/package/.build/checkouts/SwiftPCAP", "version": "1.3.1", "identity": "swiftpcap", "dependencies": [] } ] }