[4.1] 0a89402 Handle OBJ_STICKY in flags

Lasse Karstensen lkarsten at varnish-software.com
Thu Jan 14 15:15:10 CET 2016


commit 0a894029b0756958dcc02c054e3ed971fc076ddc
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Tue Jan 5 23:25:07 2016 +0000

    Handle OBJ_STICKY in flags

diff --git a/bin/varnishd/mgt/mgt_param.c b/bin/varnishd/mgt/mgt_param.c
index 2a52709..908643f 100644
--- a/bin/varnishd/mgt/mgt_param.c
+++ b/bin/varnishd/mgt/mgt_param.c
@@ -575,6 +575,10 @@ MCF_DumpRstParam(void)
 				printf("%sonly_root", q);
 				q = ", ";
 			}
+			if (pp->flags & OBJ_STICKY) {
+				printf("%sobj_sticky", q);
+				q = ", ";
+			}
 			printf("\n");
 		}
 		printf("\n");



More information about the varnish-commit mailing list