From 97d3b07a1f4e0fe1f74830b92bf174eb9ea53455 Mon Sep 17 00:00:00 2001
From: mfranz <mfranz>
Date: Thu, 11 Oct 2007 13:51:11 +0000
Subject: [PATCH] prevent endless loop. The new awy.dat.gz has entries like
 line 2632 ... AMIBO  34.973889  021.658056 ARLOS  34.625278  023.000000 1 095
 195 M871-MT E-MT W-N4 ... where unexpected ids follow (here E-MT W-N4). The
 loader didn't skipeol. The additional values are for a first quick&dirty fix
 just dropped.

---
 src/Navaids/awynet.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Navaids/awynet.cxx b/src/Navaids/awynet.cxx
index 0bc2b7e2f..73d3582fc 100755
--- a/src/Navaids/awynet.cxx
+++ b/src/Navaids/awynet.cxx
@@ -227,6 +227,7 @@ void FGAirwayNetwork::load(SGPath path)
       // Read each line from the database
       identStart = token;
       in >> latStart >> lonStart >> identEnd >> latEnd >> lonEnd >> type >> base >> top >> name;
+      in >> skipeol;
       /*out << identStart << " "
 	<< latStart   << " "
 	<< lonStart   << " "