From 09152377ed537c9b262e6b0a66a8ce88ca2619ad Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Sat, 24 Jan 2026 19:19:00 -0500 Subject: Fix reconnection Was failing to reconnect due to trying to reuse the same socket that already had a BPF filter on it. --- src/Connection.zig | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/Connection.zig') diff --git a/src/Connection.zig b/src/Connection.zig index cdeb57e..95805de 100644 --- a/src/Connection.zig +++ b/src/Connection.zig @@ -12,10 +12,6 @@ pub fn init(socket: RawSocket, headers: EthIpUdp, connection: SaprusMessage) Con }; } -pub fn deinit(self: *Connection) void { - self.socket.deinit(); -} - pub fn next(self: Connection, io: Io, buf: []u8) ![]const u8 { _ = io; log.debug("Awaiting connection message", .{}); -- cgit