From 4536f76d6985a5c088365f2fdc9ae3f5d1c4c7b4 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Sun, 3 Dec 2017 16:57:40 +0000
Subject: [PATCH] Do not overwrite the type of proxy when updating the type.

---
 src/proxy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/proxy.c b/src/proxy.c
index 3a9a4e4d5b..ea82bcf892 100644
--- a/src/proxy.c
+++ b/src/proxy.c
@@ -140,7 +140,7 @@ void proxy_addcell_in(struct proxy *p, struct cell *c, int type) {
     if (p->cells_in[k] == c) {
 
       /* Update the type */
-      p->cells_in_type[k] = type;
+      p->cells_in_type[k] |= type;
       return;
     }
 
-- 
GitLab