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 fb0eb41cd661bba968bd80f2e83ec19140075164..34c13e7b57bc3b3a61776b7ad3047ce3799cea8a 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);