projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6cc3fb
)
be a little more forgiving about format
author
aland
<aland>
Fri, 16 Mar 2007 10:03:38 +0000
(10:03 +0000)
committer
aland
<aland>
Fri, 16 Mar 2007 10:03:38 +0000
(10:03 +0000)
share/format.pl
patch
|
blob
|
history
diff --git
a/share/format.pl
b/share/format.pl
index
0c816a0
..
7228a65
100755
(executable)
--- a/
share/format.pl
+++ b/
share/format.pl
@@
-71,6
+71,12
@@
while (@ARGV) {
#
if (/^BEGIN-VENDOR\s+([\w-]+)/) {
$begin_vendor = 1;
+ if (!defined $vendor) {
+ $vendor = $1;
+ } elsif ($vendor ne $1) {
+ # do something smart
+ }
+
push @output, "BEGIN-VENDOR\t$vendor\n";
next;
}