mirror of
https://github.com/apernet/OpenGFW.git
synced 2024-12-23 01:19:21 +08:00
chore: format
This commit is contained in:
parent
abd7725fed
commit
70fee14103
@ -30,7 +30,6 @@ type PcapPacketIOConfig struct {
|
|||||||
|
|
||||||
func NewPcapPacketIO(config PcapPacketIOConfig) (PacketIO, error) {
|
func NewPcapPacketIO(config PcapPacketIOConfig) (PacketIO, error) {
|
||||||
handle, err := pcap.OpenOffline(config.PcapFile)
|
handle, err := pcap.OpenOffline(config.PcapFile)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user