aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/readconfig.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@linux.intel.com>2011-05-25 23:29:05 +0100
committerMatt Fleming <matt.fleming@linux.intel.com>2011-05-25 23:29:05 +0100
commit06f486864f5fd1353e6e1df7b7e31fdb2c88614e (patch)
treef4b5312ecee853bc11a7d140e5b1380ab1aaa74f /com32/elflink/ldlinux/readconfig.c
parent5703444a87c4746c4375f09ee61f518d2c039784 (diff)
downloadsyslinux-06f486864f5fd1353e6e1df7b7e31fdb2c88614e.tar.gz
syslinux-06f486864f5fd1353e6e1df7b7e31fdb2c88614e.tar.xz
syslinux-06f486864f5fd1353e6e1df7b7e31fdb2c88614e.zip
ldlinux: Add support for parsing pxeretry option
Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/readconfig.c')
-rw-r--r--com32/elflink/ldlinux/readconfig.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/com32/elflink/ldlinux/readconfig.c b/com32/elflink/ldlinux/readconfig.c
index 1c8cac30..add69940 100644
--- a/com32/elflink/ldlinux/readconfig.c
+++ b/com32/elflink/ldlinux/readconfig.c
@@ -582,6 +582,7 @@ uint32_t parse_argb(char **p)
extern const char *append;
//static unsigned int ipappend = 0;
unsigned int ipappend = 0;
+extern uint16_t PXERetry;
static struct labeldata ld;
static int parse_one_config(const char *filename);
@@ -1124,6 +1125,9 @@ do_include:
onerror = refstrdup(m->onerror);
}
+ else if (looking_at(p, "pxeretry"))
+ PXERetry = atoi(skipspace(p + 8));
+
/* serial setting, bps, flow control */
else if (looking_at(p, "serial")) {
/* core/conio.inc