projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add pipacs package (thanks to Janos)
[openwrt.git]
/
target
/
utils
/
src
/
addpattern.c
diff --git
a/target/utils/src/addpattern.c
b/target/utils/src/addpattern.c
index
5298f7b
..
9962a67
100644
(file)
--- a/
target/utils/src/addpattern.c
+++ b/
target/utils/src/addpattern.c
@@
-104,7
+104,7
@@
int main(int argc, char **argv)
hdr = (struct code_header *) buf;
memset(hdr, 0, sizeof(struct code_header));
hdr = (struct code_header *) buf;
memset(hdr, 0, sizeof(struct code_header));
- while ((c = getopt(argc, argv, "i:o:p:gbv:012")) != -1) {
+ while ((c = getopt(argc, argv, "i:o:p:gbv:012
4
")) != -1) {
switch (c) {
case 'i':
ifn = optarg;
switch (c) {
case 'i':
ifn = optarg;
@@
-138,7
+138,7
@@
int main(int argc, char **argv)
break;
case '4':
/* V4 firmware sets the flags to 0x1f */
break;
case '4':
/* V4 firmware sets the flags to 0x1f */
- hdr->hw_ver =
1
;
+ hdr->hw_ver =
0
;
hdr->flags = 0x1f;
break;
hdr->flags = 0x1f;
break;
This page took
0.02721 seconds
and
4
git commands to generate.