mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 11:48:03 +00:00
Fixed incorrect command option for generic commands
This commit is contained in:
@@ -753,7 +753,7 @@ class GenCXProfile(LFCliBase):
|
||||
def parse_command(self, sta_name):
|
||||
if self.type == "lfping":
|
||||
if (self.dest is not None or self.dest != "") and (self.interval is not None or self.interval > 0):
|
||||
self.cmd = "%s -i %.1f -l %s %s" % (self.type, self.interval, sta_name, self.dest)
|
||||
self.cmd = "%s -i %.1f -I %s %s" % (self.type, self.interval, sta_name, self.dest)
|
||||
#print(self.cmd)
|
||||
else:
|
||||
raise ValueError("Please ensure dest and interval have been set correctly")
|
||||
|
||||
Reference in New Issue
Block a user