Hello,

The information about the name of the boot file is, for me, needed, but
the place where I have put the print call is perhaps arguable if
`print_network_configuration' keeps its name. The print call could be
put after the call of `print_network_configuration' in `bootp_func'
(stage2/builtins.c), or, IMHO better, `print_network_configuration'
should be renamed `print_bootp_informations'.

You will see,

Cheers.

Changelog entry :

        * netboot/main.c (print_network_configuration): tftp doesn't allow 
        "browsing" so print information about the boot file as specified by
        the bootp/dhcp server
        

--- grub/netboot/main.c Sun Jan 14 20:52:12 2001
+++ grub/netboot/main.c Sat Feb 24 22:06:26 2001
@@ -175,6 +175,9 @@
                        
       grub_printf ("Address: %s    Netmask: %s\nServer: %s    Gateway: %s\n",
                    me, my_mask, server, gw);
+      grub_printf ("Boot file :0 %s\n",
+                 (BOOTP_DATA_ADDR->bootp_reply.bp_file[0])?
+                   BOOTP_DATA_ADDR->bootp_reply.bp_file : "none given");
     }
 }
 
-- 
Thierry LARONDE <[EMAIL PROTECTED]>
10, rue du Bel Air, 74000 ANNECY - FRANCE/ Tel : 33.(0)4.50.67.46.61
/home du SDF (Site Debian Francophone) : http://sdf.polynum.org/

_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to