dom: accept type="adelete" (accept bad deletes)
[idzebra-moved-to-github.git] / index / mod_dom.c
index 66ee4f0..90b3c56 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the Zebra server.
-   Copyright (C) 1994-2011 Index Data
+   Copyright (C) 2004-2013 Index Data
 
 Zebra is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -946,6 +946,8 @@ static void set_record_info(struct filter_info *tinfo,
             action = action_replace;
         else if (!strcmp(type_p, "update"))
             action = action_update;
+        else if (!strcmp(type_p, "adelete"))
+            action = action_a_delete;
         else
             dom_log(YLOG_WARN, tinfo, node, "bad @type value: %s", type_p);
         extctr->action = action;