Kaynağa Gözat

20181006 src/nodes2prom.sml (Feld fastd gibt's nicht mehr bei L2TP-Routern)

Altlast 6 yıl önce
ebeveyn
işleme
555b6fcba6
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      src/nodes2prom.sml

+ 1 - 0
src/nodes2prom.sml

@@ -145,6 +145,7 @@ struct
 		    val autoupdater = JU.asBool (JU.lookupField (JU.lookupField software "autoupdater") "enabled")
 		    val branch = JU.asString (JU.lookupField (JU.lookupField software "autoupdater") "branch")
 		    val fastd = JU.asBool (JU.lookupField (JU.lookupField software "fastd") "enabled")
+				handle (JU.FieldNotFound _) => false
 		    val firmware = JU.asString (JU.lookupField (JU.lookupField software "firmware") "release")
 		    val base = JU.asString (JU.lookupField (JU.lookupField software "firmware") "base")
 		    val model = JU.asString (JU.lookupField (JU.lookupField nodeinfo "hardware") "model")