Blame SOURCES/rsyslog-8.24.0-rhbz1403907-imudp-deprecated-parameter.patch

a856a8
From: Jiri Vymazal <jvymazal@redhat.com>
a856a8
Date: Fri, 03 Feb 2017 15:12:42 -0500
a856a8
Subject: [PATCH 1/1] rsyslog-8.24.0-rhbz1403907-imudp-deprecated-parameter.patch
a856a8
a856a8
Resolves:
a856a8
rhbz#1403907
a856a8
---
a856a8
 plugins/imudp/imudp.c | 4 ----
a856a8
 1 file changed, 4 deletions(-)
a856a8
a856a8
--- a/plugins/imudp/imudp.c	2017-01-10 10:00:04.000000000 +0100
a856a8
+++ b/plugins/imudp/imudp.c	2017-02-03 14:46:59.075987660 +0100
a856a8
@@ -920,8 +920,6 @@
a856a8
 			inst->bAppendPortToInpname = (int) pvals[i].val.d.n;
a856a8
 			bAppendPortUsed = 1;
a856a8
 		} else if(!strcmp(inppblk.descr[i].name, "inputname")) {
a856a8
-			errmsg.LogError(0, RS_RET_DEPRECATED , "imudp: deprecated parameter inputname "
a856a8
-					"used. Suggest to use name instead");
a856a8
 			if(inst->inputname != NULL) {
a856a8
 				errmsg.LogError(0, RS_RET_INVALID_PARAMS, "imudp: name and inputname "
a856a8
 						"parameter specified - only one can be used");
a856a8
@@ -929,8 +927,6 @@
a856a8
 			}
a856a8
 			inst->inputname = (uchar*)es_str2cstr(pvals[i].val.d.estr, NULL);
a856a8
 		} else if(!strcmp(inppblk.descr[i].name, "inputname.appendport")) {
a856a8
-			errmsg.LogError(0, RS_RET_DEPRECATED , "imudp: deprecated parameter inputname.appendport "
a856a8
-					"used. Suggest to use name.appendport instead");
a856a8
 			if(bAppendPortUsed) {
a856a8
 				errmsg.LogError(0, RS_RET_INVALID_PARAMS, "imudp: name.appendport and "
a856a8
 						"inputname.appendport parameter specified - only one can be used");