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:
36c9e97
)
Fix eth_hdr struct definition
author
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Tue, 2 Feb 2016 12:31:27 +0000
(14:31 +0200)
committer
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Tue, 2 Feb 2016 12:31:27 +0000
(14:31 +0200)
nmrp.c
patch
|
blob
|
history
diff --git
a/nmrp.c
b/nmrp.c
index 7cb36896d9ca7621e55be044273dc4734982c56a..830d6611fc776db4939dc184c90e6934a6d46dbe 100644
(file)
--- a/
nmrp.c
+++ b/
nmrp.c
@@
-89,10
+89,10
@@
struct nmrp_msg {
} PACKED;
struct eth_hdr {
- uint8_t ether_
shost[8
];
- uint8_t ether_
dhost[8
];
+ uint8_t ether_
dhost[6
];
+ uint8_t ether_
shost[6
];
uint16_t ether_type;
-};
+}
PACKED
;
struct nmrp_pkt {
struct eth_hdr eh;