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

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