]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/acl/Arp.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / acl / Arp.cc
index 5eae6100b432d78ad9ccd9e37f5de87599c8785c..89d197d2a24c43e01524cebea5f3dc1ea6ba1b1d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -114,6 +114,8 @@ aclParseArpData(const char *t)
 void
 ACLARP::parse()
 {
+    if (!data)
+        data = new Splay<Eui::Eui48 *>();
     aclParseArpList(&data);
 }