OSDN Git Service

Allow additional interface flags.
authorJeff Sharkey <jsharkey@android.com>
Thu, 1 Dec 2011 23:25:28 +0000 (15:25 -0800)
committerJeff Sharkey <jsharkey@android.com>
Thu, 1 Dec 2011 23:48:41 +0000 (15:48 -0800)
Bug: 5686458
Change-Id: I9c5147446636d32bb3a420a05199870cca5f013d

CommandListener.cpp

index be6c7bf..99e1269 100644 (file)
@@ -354,9 +354,15 @@ int CommandListener::InterfaceCmd::runCommand(SocketClient *cli,
                         return 0;
                     }
                 } else if (!strcmp(flag, "broadcast")) {
-                    LOGD("broadcast flag ignored");
+                    // currently ignored
                 } else if (!strcmp(flag, "multicast")) {
-                    LOGD("multicast flag ignored");
+                    // currently ignored
+                } else if (!strcmp(flag, "running")) {
+                    // currently ignored
+                } else if (!strcmp(flag, "loopback")) {
+                    // currently ignored
+                } else if (!strcmp(flag, "point-to-point")) {
+                    // currently ignored
                 } else {
                     cli->sendMsg(ResponseCode::CommandParameterError, "Flag unsupported", false);
                     ifc_close();