mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
initscripts fkt: readhash should only parse lines with a =
A line without a = is clearly invalid. Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
9f72b7bc5f
commit
f1d94e7457
@@ -15,6 +15,7 @@ RED_ADDRESS=0.0.0.0
|
||||
RED_NETMASK=0.0.0.0
|
||||
RED_TYPE=PPPOE
|
||||
RED_NETADDRESS=0.0.0.0
|
||||
Line_without_a_equal_sign_is_also_invalid
|
||||
|
||||
# Comment for testing
|
||||
# Comment for testing Comments with spaces before
|
||||
|
||||
@@ -6,3 +6,4 @@ Invalid key '-RED_DEV'
|
||||
Invalid key 'RE??D_MACADDR'
|
||||
Invalid key 'RED&&_DRIVER'
|
||||
Invalid key '0BLUE_DEV'
|
||||
Invalid line 'Line_without_a_equal_sign_is_also_invalid'
|
||||
|
||||
Reference in New Issue
Block a user