diff options
author | Andreas Jakum <aj-gh@users.noreply.github.com> | 2019-03-20 22:35:38 +0100 |
---|---|---|
committer | Andreas Jakum <aj-gh@users.noreply.github.com> | 2019-03-20 22:35:38 +0100 |
commit | 21ed8cf5c8dc2fe6353a5065016a0e781ca4e126 (patch) | |
tree | 5af4c5062c50180c8425c9cccbe162a4a8beb43b | |
parent | 88bf4b97432c5c291003d4f15d74c4429d5b3a70 (diff) |
Correctly show tunnel links via new tunnel endpoint.
-rw-r--r-- | data.php | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -326,8 +326,10 @@ foreach ($lines as $num => $line) if($locations[$locids[$iptoLoc]]->state == "offline") $locations[$locids[$iptoLoc]]->state = "online"; } - if (($nodename[$ipfromLoc] == "tunnel" && $locations[$locids[$ipfromLoc]]->locname=="housing") || - ($nodename[$iptoLoc] == "tunnel" && $locations[$locids[$iptoLoc]]->locname=="housing" ) || + if (($nodename[$ipfromLoc] == "tunnel" && $locations[$locids[$ipfromLoc]]->locname == "housing") || + ($nodename[$iptoLoc] == "tunnel" && $locations[$locids[$iptoLoc]]->locname == "housing") || + ($nodename[$ipfromLoc] == "viennagw" && $locations[$locids[$ipfromLoc]]->locname == "edis") || + ($nodename[$iptoLoc] == "viennagw" && $locations[$locids[$iptoLoc]]->locname == "edis") || ($locations[$locids[$iptoLoc]]->hastinc && $locations[$locids[$ipfromLoc]]->hastinc)) { $links[$i]->label = -1; |