From 41d0adb70e8ee8ca226716eeb7c877fc8f15e9ca Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Sun, 29 Nov 2015 12:22:11 +0200 Subject: [PATCH] Add has_key method --- pdns/iputils.hh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pdns/iputils.hh b/pdns/iputils.hh index ed862b623b..63662128ac 100644 --- a/pdns/iputils.hh +++ b/pdns/iputils.hh @@ -547,6 +547,12 @@ public: insert(key_type(mask)).second = value; } + //first == key; + } + //