mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
fix a small bug in the parse-config script
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4969 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cc28b0b5ef
commit
0edc1e6cbf
@ -27,7 +27,7 @@ $1 == "@else" {
|
||||
else noprint = 1
|
||||
}
|
||||
|
||||
($1 !~ /^@/) && (noprint != 1) {
|
||||
($1 !~ /^@[a-zA-Z]/) && (noprint != 1) {
|
||||
n=split(line "@@", a, /@@/)
|
||||
for (i=1; i<=n; i++) {
|
||||
if ((i % 2) == 1) printf a[i]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user