Skip to content

Commit 136cb8c

Browse files
authored
Merge pull request #4 from anio/patch-1
Add new private ranges
2 parents d8859e3 + f7ae49d commit 136cb8c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/Address.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,19 @@ class Address
99
protected $address;
1010

1111
protected $v4 = [
12+
'0.0.0.0/8',
1213
'10.0.0.0/8',
14+
'127.0.0.0/8',
1315
'172.16.0.0/12',
14-
'192.168.0.0/16'
16+
'192.168.0.0/16',
17+
'169.254.0.0/16'
1518
];
1619

1720
protected $v6 = [
21+
'::1/128',
1822
'fc00::/7',
19-
'fd00::/8'
23+
'fd00::/8',
24+
'fe80::/10',
2025
];
2126

2227
public function __construct($address)

0 commit comments

Comments
 (0)