Skip to content

Commit 4e33bec

Browse files
authored
Fix typo in variable name for UDP config
1 parent 9beb482 commit 4e33bec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/wizecore/graylog2/plugin/SyslogOutput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public SyslogOutput(@Assisted Stream stream, @Assisted Configuration conf) {
102102
log.info("Creating syslog output " + protocol + "://" + host + ":" + port + ", format " + format);
103103
SyslogConfigIF config = null;
104104
if (protocol.toLowerCase().equals("udp")) {
105-
UDPNetSyslogConfig updConfig = new UDPNetSyslogConfig();
105+
UDPNetSyslogConfig udpConfig = new UDPNetSyslogConfig();
106106
udpConfig.setMaxQueueSize(maxQueueSize);
107107
config = udpConfig;
108108
} else

0 commit comments

Comments
 (0)