diff --git a/README.md b/README.md index ce12b05..80058e9 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ All examples include IPv4, ARP, ICMP, TCP and UDP functionality. Go and TinyGo d | Program | Extra Protocols | Packet capture printing | amd64 Go | WASM Go | amd64 TinyGo | WASM TinyGo | Pico TinyGo | -|---|---|---|---|---|---|---|---| +|---|:---:|:---:|---|---|---|---|---| | [Lneto MWE](./examples/min-working-example/) | DNS,NTP,DHCP | ✅ | 3.8MB | 4.3MB | 1.3MB | 934kB | 181kB | | [Gvisor MWE w/ go-net](./examples/_import_examples/gvisor-mwe/)| None | ❌ | 6.6MB | 7.5MB | DNC | DNC | DNC | ## `xcurl` example diff --git a/examples/_import_examples/gvisor-mwe/main.go b/examples/_import_examples/gvisor-mwe/main.go index a1e11fb..4abb55e 100644 --- a/examples/_import_examples/gvisor-mwe/main.go +++ b/examples/_import_examples/gvisor-mwe/main.go @@ -22,8 +22,8 @@ type NetworkDevice struct { recv func([]byte) (int, error) } -func (d *NetworkDevice) Transmit(buf []byte) error { return d.send(buf) } -func (d *NetworkDevice) Receive(buf []byte) (int, error) { return d.recv(buf) } +func (d *NetworkDevice) Transmit(buf []byte) error { return d.send(buf) } +func (d *NetworkDevice) Receive(buf []byte) (int, error) { return d.recv(buf) } func main() { ctx := context.Background()