more API touch ups

This commit is contained in:
Patricio Whittingslow
2026-05-14 13:15:16 -03:00
parent d010e6a7e9
commit 8efd810610
3 changed files with 37 additions and 3 deletions
+4
View File
@@ -76,6 +76,10 @@ func (client *Client) Configure(cfg ClientConfig) error {
}
return nil
}
func (client *Client) SetAddr6(addr [16]byte) {
client.ourIP = addr
client.Reset()
}
func (client *Client) Protocol() uint64 { return uint64(lneto.IPProtoIPv6ICMP) }
func (client *Client) LocalPort() uint16 { return 0 }