projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
367f5ed
)
do not memcmp padding bytes in config_diff
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 3 Oct 2011 10:44:06 +0000
(12:44 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 3 Oct 2011 10:44:06 +0000
(12:44 +0200)
config.c
patch
|
blob
|
history
diff --git
a/config.c
b/config.c
index 4f3a3cd77fd5860190f44a2797a9fc038c88e789..db69f9a411a40f52802d7c4ec3feee6623539f55 100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-223,7
+223,7
@@
config_diff(struct blob_attr **tb1, struct blob_attr **tb2,
if (blob_len(tb1[i]) != blob_len(tb2[i]))
goto mark;
- if (memcmp(tb1[i], tb2[i], blob_
pad
_len(tb1[i])) != 0)
+ if (memcmp(tb1[i], tb2[i], blob_
raw
_len(tb1[i])) != 0)
goto mark;
continue;