mirror of
https://github.com/emanuele-f/PCAPdroid.git
synced 2026-06-16 21:10:57 +08:00
Fix test
This commit is contained in:
parent
9dfeb72c79
commit
fbba541617
@ -433,7 +433,7 @@ public class ConnectionsAdapterTest {
|
||||
ConnectionDescriptor newConnection(boolean active) {
|
||||
ConnectionDescriptor conn = new ConnectionDescriptor(incrId++, 4, 6,
|
||||
"1.1.1.1", "2.2.2.2", 51234, 80,
|
||||
-1, 0, 0);
|
||||
0, -1, 0, 0);
|
||||
conn.status = active ? ConnectionDescriptor.CONN_STATUS_CONNECTED : ConnectionDescriptor.CONN_STATUS_CLOSED;
|
||||
return conn;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user