summaryrefslogtreecommitdiffstats
path: root/0048-RH-print-defaults.patch
blob: be1ce572ebdefdad5441f32aca4d95068605c077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
 libmultipath/dict.c |    4 ----
 1 file changed, 4 deletions(-)

Index: multipath-tools-130222/libmultipath/dict.c
===================================================================
--- multipath-tools-130222.orig/libmultipath/dict.c
+++ multipath-tools-130222/libmultipath/dict.c
@@ -2468,16 +2468,12 @@ snprint_def_verbosity (char * buff, int
 static int
 snprint_def_max_polling_interval (char * buff, int len, void * data)
 {
-	if (conf->max_checkint == MAX_CHECKINT(conf->checkint))
-		return 0;
 	return snprintf(buff, len, "%i", conf->max_checkint);
 }
 
 static int
 snprint_reassign_maps (char * buff, int len, void * data)
 {
-	if (conf->reassign_maps == DEFAULT_REASSIGN_MAPS)
-		return 0;
 	return snprintf(buff, len, "\"%s\"",
 			conf->reassign_maps?"yes":"no");
 }