projects
/
project
/
odhcp6c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
285abfb
)
Fix RA-route export again
author
Steven Barth
<steven@midlink.org>
Thu, 31 Jan 2013 11:40:00 +0000
(12:40 +0100)
committer
Steven Barth
<steven@midlink.org>
Thu, 31 Jan 2013 11:40:00 +0000
(12:40 +0100)
src/script.c
patch
|
blob
|
history
diff --git
a/src/script.c
b/src/script.c
index f62ea5ef319fe965f489fd4456e77547ada56626..43af9884c9e0999f2fec22a9e34246ffc2dd35e1 100644
(file)
--- a/
src/script.c
+++ b/
src/script.c
@@
-149,11
+149,10
@@
static void entry_to_env(const char *name, const void *data, size_t len, bool ho
buf_len += strlen(&buf[buf_len]);
}
buf_len += snprintf(&buf[buf_len], 24, ",%u", e[i].valid);
+ buf_len += snprintf(&buf[buf_len], 12, ",%u", e[i].priority);
} else {
buf_len += snprintf(&buf[buf_len], 24, ",%u,%u", e[i].preferred, e[i].valid);
}
- if (e[i].priority)
- buf_len += snprintf(&buf[buf_len], 12, ",%u", e[i].priority);
}
buf[buf_len++] = ' ';
}