ncsid: Only delete static addresses

Technically this is safe, but it causes errors to be logged.

Change-Id: I5872e2dd7c9da4ce0dc82b80dd642c715d76b0be
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/subprojects/ncsid/src/ncsid_lib.sh b/subprojects/ncsid/src/ncsid_lib.sh
index fd7c998..bc2c2d8 100644
--- a/subprojects/ncsid/src/ncsid_lib.sh
+++ b/subprojects/ncsid/src/ncsid_lib.sh
@@ -359,7 +359,7 @@
         if [ "$(normalize_ip "$Address")" = "$ip" ] && \
             [ "$PrefixLength" = "$prefix" ]; then
             should_add=0
-        elif MatchingAF "$ip" "$Address"; then
+        elif MatchingAF "$ip" "$Address" && [[ "$Origin" == *.Static ]]; then
             echo "Deleting spurious IP: $Address/$PrefixLength" >&2
             delete_services+=("$service")
             delete_objects+=("$object")