Skip to content

Commit

Permalink
修改ipv4的处理
Browse files Browse the repository at this point in the history
  • Loading branch information
nova2018 committed May 18, 2019
1 parent 60cba47 commit b3797d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viewpeerlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function dltable($name, $arr, $torrent)
// 检测连通性,是否是校内IPV4/校外IPV4/IPV6
$arrConn = [];
if (!empty($e["ipv4"])){
if (check_tjuip($e["ipv4"])){
if (check_tjuip(long2ip($e['ipv4'])){
$arrConn[] = $lang_viewpeerlist['text_ipv4_in'];
}else{
$arrConn[] = $lang_viewpeerlist['text_ipv4_out'];
Expand Down

0 comments on commit b3797d0

Please sign in to comment.