1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00

interface: clarify the quoting for advanced "interfaces" options

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Stefan Metzmacher 2020-05-07 12:04:00 +02:00
parent 5944ec38cd
commit fe3380d369

View File

@ -419,7 +419,11 @@ static void parse_extra_info(char *key, uint64_t *speed, uint32_t *cap,
Additional information for an interface can be specified with
this extended syntax:
interface[;key1=value1[,key2=value2[...]]]
"interface[;key1=value1[,key2=value2[...]]]"
Note: The double quoting is important for the
smb.conf parser! Otherwise the ';' and ',' separates
two interfaces.
where
- keys known: 'speed', 'capability', 'if_index'
@ -429,6 +433,8 @@ static void parse_extra_info(char *key, uint64_t *speed, uint32_t *cap,
these indexes should not conicide with indexes
the kernel sets...
Note: The specified values overwrite the autodetected values!
****************************************************************************/
static void interpret_interface(char *token)