diff options
author | hpa <hpa> | 2004-05-29 22:11:23 +0000 |
---|---|---|
committer | hpa <hpa> | 2004-05-29 22:11:23 +0000 |
commit | 975a4c3b343c09a340d95f1a2a4ece3556c57a10 (patch) | |
tree | 6a357b29c4306ff8bd950d176edde228daca64fb /ui.inc | |
parent | 32febd4f574911c90ae2d543f061b33379f200a7 (diff) | |
download | syslinux-975a4c3b343c09a340d95f1a2a4ece3556c57a10.tar.gz |
- Add "allowoptions" command
- Fix the handling of x0x IP addresses
Diffstat (limited to 'ui.inc')
-rw-r--r-- | ui.inc | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -215,6 +215,16 @@ clin_is_wsp: and al,al clin_opt_ptr: dec si ; Point to first nonblank mov [CmdOptPtr],si ; Save ptr to first option ; +; If "allowoptions 0", put a null character here in order to ignore any +; user-specified options. +; + mov ax,[AllowOptions] + and ax,ax + jnz clin_opt_ok + mov [si],al +clin_opt_ok: + +; ; Now check if it is a "virtual kernel" ; mov cx,[VKernelCtr] |