Drop unnecessary conditional and incorrect comment.
authorBen Pfaff <blp@nicira.com>
Mon, 28 Jul 2008 22:07:24 +0000 (15:07 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 28 Jul 2008 22:07:24 +0000 (15:07 -0700)
'controller_relay' is always non-null (but in an earlier revision of
the code that was never pushed to the repository, this was not the case.)

secchan/secchan.c

index fb0eb41..34c13e7 100644 (file)
@@ -291,10 +291,7 @@ main(int argc, char *argv[])
                 new_management_connection(nl_name, new_remote);
             }
         }
-        if (controller_relay) {
-            /* FIXME: should also fail open when controller_relay is NULL. */
-            failing_open(controller_relay); 
-        }
+        failing_open(controller_relay); 
         if (dhcp) {
             if (rconn_is_connectivity_questionable(remote_rconn)) {
                 dhclient_force_renew(dhcp, 15);