projects
/
oweals
/
nmrpflash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7caf78
)
Doc updates
author
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Thu, 18 Feb 2016 21:23:00 +0000
(22:23 +0100)
committer
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Thu, 18 Feb 2016 21:23:00 +0000
(22:23 +0100)
nmrp.c
patch
|
blob
|
history
diff --git
a/nmrp.c
b/nmrp.c
index 327bf816bc0d2d956dbe67cb472496721f164a04..9b05861712c5b6abf328fc0a5b28ce427b7b5ebd 100644
(file)
--- a/
nmrp.c
+++ b/
nmrp.c
@@
-82,7
+82,9
@@
struct nmrp_msg {
uint8_t code;
uint8_t id;
uint16_t len;
+ /* only opts[0] is valid! think of this as a char* */
struct nmrp_opt opts[NMRP_MAX_OPT_NUM];
+ /* this is NOT part of the transmitted packet */
uint32_t num_opts;
} PACKED;