chiark / gitweb /
fixup! polypath: Introduce comm-info/dedicated
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 23 Apr 2017 17:14:11 +0000 (18:14 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 23 Apr 2017 17:14:11 +0000 (18:14 +0100)
polypath.c

index a8b2759..025909a 100644 (file)
@@ -352,7 +352,7 @@ static void polypath_record_ifaddr(struct polypath *st,
     struct interf_list *interfs;
     switch (want) {
     case '+': interfs=&st->interfs_general; max_interfs=st->max_interfs; break;
-    case '@':  interfs=&st->interfs_dedicated;  max_interfs=INT_MAX;
+    case '@': interfs=&st->interfs_dedicated; max_interfs=INT_MAX; break;
     default:   fatal("polypath: got bad want (%#x, %s)", want, ifname);
     }