[master] 7cdb853 Use both

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Nov 24 17:01:05 CET 2016


commit 7cdb8531b38353b0570920bb798c59d567c99d47
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Thu Nov 24 16:59:12 2016 +0100

    Use both

diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 37aa744..e006b89 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -160,7 +160,7 @@ returns = (
 sp_variables = [
 	('remote.ip',
 		'IP',
-		('client', 'backend'),
+		('both'),
 		(), """
 		The IP address of the other end of the TCP connection.
 		This can either be the clients IP, or the outgoing IP
@@ -169,7 +169,7 @@ sp_variables = [
 	),
 	('client.ip',
 		'IP',
-		('client', 'backend'),
+		('both'),
 		(), """
 		The client's IP address.
 		"""
@@ -185,14 +185,14 @@ sp_variables = [
 	),
 	('local.ip',
 		'IP',
-		('client', 'backend'),
+		('both'),
 		(), """
 		The IP address of the local end of the TCP connection.
 		"""
 	),
 	('server.ip',
 		'IP',
-		('client', 'backend'),
+		('both'),
 		(), """
 		The IP address of the socket on which the client
 		connection was received.



More information about the varnish-commit mailing list