diff options
| author | Robby Zambito <contact@robbyzambito.me> | 2026-01-24 19:19:00 -0500 |
|---|---|---|
| committer | Robby Zambito <contact@robbyzambito.me> | 2026-01-24 20:14:22 -0500 |
| commit | 09152377ed537c9b262e6b0a66a8ce88ca2619ad (patch) | |
| tree | f3e5365ae2827082fa61c029bb4654f2acc026c8 /src/Connection.zig | |
| parent | c3b17f826740bed3f2785e97550f647cf38dfb7f (diff) | |
Fix reconnection
Was failing to reconnect due to trying to reuse the same socket that
already had a BPF filter on it.
Diffstat (limited to 'src/Connection.zig')
| -rw-r--r-- | src/Connection.zig | 4 |
1 files changed, 0 insertions, 4 deletions
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", .{}); |
