mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 10:03:58 +02:00
Fix fallback to hardcoded orbits
This commit is contained in:
parent
a82e22aab7
commit
2cde1ba266
2 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ int main (int argc, char *argv[])
|
|||
|
||||
LeoOrbitNodeHelper orbit;
|
||||
NodeContainer satellites;
|
||||
if (orbitFile.empty())
|
||||
if (!orbitFile.empty())
|
||||
{
|
||||
satellites = orbit.Install (orbitFile);
|
||||
}
|
||||
|
|
|
@ -136,7 +136,7 @@ int main (int argc, char *argv[])
|
|||
|
||||
LeoOrbitNodeHelper orbit;
|
||||
NodeContainer satellites;
|
||||
if (orbitFile.empty())
|
||||
if (!orbitFile.empty())
|
||||
{
|
||||
satellites = orbit.Install (orbitFile);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue