]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Igore '%' aka MA directive
authorFrancis Dupont <fdupont@isc.org>
Thu, 11 May 2017 11:10:13 +0000 (13:10 +0200)
committerFrancis Dupont <fdupont@isc.org>
Thu, 11 May 2017 11:10:13 +0000 (13:10 +0200)
server/confpars.c

index d27145160b94bf7473905aec7179aee92a1e8286..d63586ca795b0c96c48764979582dc43900047c8 100644 (file)
@@ -812,6 +812,11 @@ int parse_statement (cfile, group, type, host_decl, declaration)
                parse_lease_id_format(cfile);
                break;
 
+             case PERCENT:
+               /* Used by the MA so simply ignore... */
+               skip_to_semi (cfile);
+               break;
+
              default:
                et = (struct executable_statement *)0;
                lose = 0;