Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void setConfiguration (Configuration cfg) {
public void setConfiguration(Element xml) throws ConfigurationException {
for (Element ep : xml.getChildren("endpoint")) {
String destination = QFactory.getAttributeValue(ep, "destination");
StringTokenizer st = new StringTokenizer(ep.getText());
StringTokenizer st = new StringTokenizer(Environment.get(ep.getTextTrim()));
while (st.hasMoreElements()) {
BinRange br = new BinRange(destination, st.nextToken());
binranges.add(br);
Expand All @@ -110,7 +110,7 @@ public void setConfiguration(Element xml) throws ConfigurationException {
for (Element re : xml.getChildren("regexp")) {
String destination = QFactory.getAttributeValue(re, "destination");
regexps.add(
new PanRegExp(QFactory.getAttributeValue(re, "destination"), re.getTextTrim())
new PanRegExp(QFactory.getAttributeValue(re, "destination"), Environment.get(re.getTextTrim()))
);
}
LogEvent evt = Log.getLog(Q2.LOGGER_NAME, this.getClass().getName()).createLogEvent("config");
Expand Down
Loading