mirror of
https://github.com/go-i2p/go-sam-go.git
synced 2025-12-01 09:54:58 -05:00
Add UDP port configuration to NewDatagramSession and NewRawSession methods
This commit is contained in:
@@ -398,7 +398,7 @@ func TestSAM3CompatibilityIntegration(t *testing.T) {
|
||||
{
|
||||
name: "DatagramSessionPattern",
|
||||
test: func(t *testing.T) {
|
||||
session, err := sam.NewDatagramSession("compat-datagram-"+RandString(), keys, Options_Small)
|
||||
session, err := sam.NewDatagramSession("compat-datagram-"+RandString(), keys, Options_Small, 0)
|
||||
if err != nil {
|
||||
t.Errorf("Datagram session creation failed: %v", err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user