mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Use compact IPv6 addresses
This commit is contained in:
parent
4b3b647245
commit
973ccfcd03
@ -35,19 +35,19 @@ class DataCenter:
|
||||
}
|
||||
|
||||
TEST_IPV6 = {
|
||||
1: "2001:0b28:f23d:f001:0000:0000:0000:000e",
|
||||
2: "2001:067c:04e8:f002:0000:0000:0000:000e",
|
||||
3: "2001:0b28:f23d:f003:0000:0000:0000:000e",
|
||||
121: "2a03:b0c0:0003:00d0:0000:0000:0114:d001"
|
||||
1: "2001:b28:f23d:f001::e",
|
||||
2: "2001:67c:4e8:f002::e",
|
||||
3: "2001:b28:f23d:f003::e",
|
||||
121: "2a03:b0c0:3:d0::114:d001"
|
||||
}
|
||||
|
||||
PROD_IPV6 = {
|
||||
1: "2001:0b28:f23d:f001:0000:0000:0000:000a",
|
||||
2: "2001:067c:04e8:f002:0000:0000:0000:000a",
|
||||
3: "2001:0b28:f23d:f003:0000:0000:0000:000a",
|
||||
4: "2001:067c:04e8:f004:0000:0000:0000:000a",
|
||||
5: "2001:0b28:f23f:f005:0000:0000:0000:000a",
|
||||
121: "2a03:b0c0:0003:00d0:0000:0000:0114:d001"
|
||||
1: "2001:b28:f23d:f001::a",
|
||||
2: "2001:67c:4e8:f002::a",
|
||||
3: "2001:b28:f23d:f003::a",
|
||||
4: "2001:67c:4e8:f004::a",
|
||||
5: "2001:b28:f23f:f005::a",
|
||||
121: "2a03:b0c0:3:d0::114:d001"
|
||||
}
|
||||
|
||||
def __new__(cls, dc_id: int, test_mode: bool, ipv6: bool):
|
||||
|
Loading…
x
Reference in New Issue
Block a user