diff options
| author | Felix Fietkau | 2011-10-03 10:44:06 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2011-10-03 10:44:06 +0000 |
| commit | 210b973708d62137b8283d43908292039056f415 (patch) | |
| tree | 738e44da2536094128b66dddcdc20f940a6d8ae1 | |
| parent | 367f5edba8abe7e03890ceb00c00617d64d7bf73 (diff) | |
| download | netifd-210b973708d62137b8283d43908292039056f415.tar.gz | |
do not memcmp padding bytes in config_diff
| -rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |