projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d166f4
)
Allow ${Foo-Bar:-%{...}} again
release_2_2_0
author
Alan T. DeKok
<aland@freeradius.org>
Mon, 10 Sep 2012 11:51:34 +0000
(13:51 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Mon, 10 Sep 2012 11:51:34 +0000
(13:51 +0200)
src/main/xlat.c
patch
|
blob
|
history
diff --git
a/src/main/xlat.c
b/src/main/xlat.c
index
0dc7df1
..
3dd9dc9
100644
(file)
--- a/
src/main/xlat.c
+++ b/
src/main/xlat.c
@@
-1021,6
+1021,7
@@
static int decode_attribute(const char **from, char **to, int freespace,
}
if (*l == ':') {
+ if (l[1] == '-') break;
if (isdigit(l[1])) break;
module_name = p; /* start of name */