Hello,

Add support for 'external' match-type in update-policy.

--
Petr^2 Spacek
From 00ce71c81d2f486ca193acfd3174dc04e612c901 Mon Sep 17 00:00:00 2001
From: Petr Spacek <pspa...@redhat.com>
Date: Mon, 25 Mar 2013 12:12:52 +0100
Subject: [PATCH] Add support for 'external' match-type in update-policy.

Signed-off-by: Petr Spacek <pspa...@redhat.com>
---
 src/acl.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/acl.c b/src/acl.c
index 3b5de00f8a40cbc1a876ea2b74e9c2093e48774c..4614d39a38655377a90a588357e82539ffc00330 100644
--- a/src/acl.c
+++ b/src/acl.c
@@ -247,6 +247,9 @@ get_match_type(const cfg_obj_t *obj, unsigned int *value)
 	MATCH("tcp-self", DNS_SSUMATCHTYPE_TCPSELF);
 	MATCH("6to4-self", DNS_SSUMATCHTYPE_6TO4SELF);
 #endif
+#if defined(DNS_SSUMATCHTYPE_EXTERNAL)
+	MATCH("external", DNS_SSUMATCHTYPE_EXTERNAL);
+#endif
 
 	log_bug("unsupported match type '%s'", str);
 	return ISC_R_NOTIMPLEMENTED;
-- 
1.7.11.7

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to