]> git.ozlabs.org Git - yaboot.git/blobdiff - second/yaboot.c
Enhance the parseing of IPv4 information.
[yaboot.git] / second / yaboot.c
index 8a74d7a5de89c1749738dbe775356655968362b0..66f288b82aea9eaff21c59ed1fd3bf52c26224b5 100644 (file)
@@ -471,6 +471,8 @@ static int load_my_config_file(struct boot_fspec_t *orig_fspec)
      int minlen;
 
      packet = prom_get_netinfo();
      int minlen;
 
      packet = prom_get_netinfo();
+     if (!packet)
+          goto out;
 
      /*
       * First, try to match on mac address with the hardware type
 
      /*
       * First, try to match on mac address with the hardware type