projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3758d9b
)
Understand extended format attrs, too
author
Alan T. DeKok
<aland@freeradius.org>
Thu, 25 Oct 2012 12:03:56 +0000
(14:03 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Thu, 25 Oct 2012 12:04:23 +0000
(14:04 +0200)
share/format.pl
patch
|
blob
|
history
diff --git
a/share/format.pl
b/share/format.pl
index
4f08b23
..
8105511
100755
(executable)
--- a/
share/format.pl
+++ b/
share/format.pl
@@
-106,7
+106,7
@@
while (@ARGV) {
#
# Get attribute.
#
- if (/^ATTRIBUTE\s+([\w-]+)\s+(
\w
+)\s+(\w+)(.*)/) {
+ if (/^ATTRIBUTE\s+([\w-]+)\s+(
[\w.]
+)\s+(\w+)(.*)/) {
$name=$1;
$len = length $name;
if ($len < 40) {