Blob Blame History Raw
From: Jiri Vymazal <jvymazal@redhat.com>
Date: Fri, 03 Feb 2017 15:12:42 -0500
Subject: [PATCH 1/1] rsyslog-8.24.0-rhbz1403907-imudp-deprecated-parameter.patch

Resolves:
rhbz#1403907
---
 plugins/imudp/imudp.c | 4 ----
 1 file changed, 4 deletions(-)

--- a/plugins/imudp/imudp.c	2017-01-10 10:00:04.000000000 +0100
+++ b/plugins/imudp/imudp.c	2017-02-03 14:46:59.075987660 +0100
@@ -920,8 +920,6 @@
 			inst->bAppendPortToInpname = (int) pvals[i].val.d.n;
 			bAppendPortUsed = 1;
 		} else if(!strcmp(inppblk.descr[i].name, "inputname")) {
-			errmsg.LogError(0, RS_RET_DEPRECATED , "imudp: deprecated parameter inputname "
-					"used. Suggest to use name instead");
 			if(inst->inputname != NULL) {
 				errmsg.LogError(0, RS_RET_INVALID_PARAMS, "imudp: name and inputname "
 						"parameter specified - only one can be used");
@@ -929,8 +927,6 @@
 			}
 			inst->inputname = (uchar*)es_str2cstr(pvals[i].val.d.estr, NULL);
 		} else if(!strcmp(inppblk.descr[i].name, "inputname.appendport")) {
-			errmsg.LogError(0, RS_RET_DEPRECATED , "imudp: deprecated parameter inputname.appendport "
-					"used. Suggest to use name.appendport instead");
 			if(bAppendPortUsed) {
 				errmsg.LogError(0, RS_RET_INVALID_PARAMS, "imudp: name.appendport and "
 						"inputname.appendport parameter specified - only one can be used");