From 265fccd6a1293ffc16b34edc641d63c27ae91ae3 Mon Sep 17 00:00:00 2001
From: Nigel Kukard <nkukard@lbsd.net>
Date: Mon, 1 Jul 2013 21:59:46 +0000
Subject: [PATCH] Make sure we add the source to the user data

---
 opentrafficshaper/plugins/configmanager.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/opentrafficshaper/plugins/configmanager.pm b/opentrafficshaper/plugins/configmanager.pm
index 300727b..7608306 100644
--- a/opentrafficshaper/plugins/configmanager.pm
+++ b/opentrafficshaper/plugins/configmanager.pm
@@ -326,6 +326,8 @@ sub process_change {
 		$logger->log(LOG_DEBUG,"[CONFIGMANAGER] Cannot process user change for '".$user->{'Username'}."' as the Status is invalid.");
 	}
 
+	$userChange->{'Source'} = $user->{'Source'};
+
 	# Set the user ID before we post to the change queue
 	$userChange->{'ID'} = $uid;
 	$userChange->{'LastUpdate'} = time();
-- 
GitLab