diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.extcap | 3 | ||||
-rwxr-xr-x | doc/extcap_example.py | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/README.extcap b/doc/README.extcap index 7b53b7fcfd..6a4f33f44d 100644 --- a/doc/README.extcap +++ b/doc/README.extcap @@ -150,7 +150,8 @@ These options do have types, for which the following types are being supported: the user input for validity beyond normal data type or range checks. Back-slashes must be escaped (as in \\b for \b) - * PASSWORD - Let the user provide a masked string to the capture + * PASSWORD - Let the user provide a masked string to the capture. Password strings are + not saved, when the extcap configuration is being saved arg {number=0}{call=--password}{display=The user password}{tooltip=The password for the connection}{type=password} diff --git a/doc/extcap_example.py b/doc/extcap_example.py index 571605837e..ab9967c489 100755 --- a/doc/extcap_example.py +++ b/doc/extcap_example.py @@ -78,7 +78,10 @@ def extcap_config(interface): args.append ( (2, '--verify', 'Verify', 'Verify package content', 'boolflag', '{default=yes}') ) args.append ( (3, '--remote', 'Remote Channel', 'Remote Channel Selector', 'selector', '')) args.append ( (4, '--fake_ip', 'Fake IP Address', 'Use this ip address as sender', 'string', '{save=false}{validation=\\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\b}')) - args.append ( (5, '--password', 'Password', 'Package message password', 'password', '') ) + args.append ( (5, '--ltest', 'Long Test', 'Long Test Value', 'long', '{default=123123123123123123}')) + args.append ( (6, '--d1test', 'Double 1 Test', 'Long Test Value', 'double', '{default=123.456}')) + args.append ( (7, '--d2test', 'Double 2 Test', 'Long Test Value', 'double', '{default= 123,456}')) + args.append ( (8, '--password', 'Password', 'Package message password', 'password', '') ) values.append ( (3, "if1", "Remote1", "true" ) ) values.append ( (3, "if2", "Remote2", "false" ) ) |