Fix <Ctrl-N> for printing network information syslinux-3.50-pre9
authorH. Peter Anvin <hpa@zytor.com>
Thu, 10 May 2007 04:45:06 +0000 (21:45 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 10 May 2007 04:45:06 +0000 (21:45 -0700)
- di needs to be pushed to the stack;
- need to crlf before printing...

ui.inc

diff --git a/ui.inc b/ui.inc
index f8f95fd..97d361e 100644 (file)
--- a/ui.inc
+++ b/ui.inc
@@ -181,6 +181,8 @@ fk_nofile:  pop di
 ;
 %if IS_PXELINUX
 show_network_info:
+               push di                         ; Command line write pointer
+               call crlf
                mov si,IPAppends                ; See comboot.doc
                mov cx,numIPAppends
 .loop: