commit | 39e3d3836c1384506d0a76a496133c5361940770 | [log] [tgz] |
---|---|---|
author | Christophe Gouault <christophe.gouault@6wind.com> | Fri Oct 02 11:59:37 2015 +0200 |
committer | Stephen Hemminger <shemming@brocade.com> | Wed Oct 07 10:35:25 2015 +0100 |
tree | 7eee4bf80c728e113d3bd10fe173ea013c70a462 | |
parent | 8aacb9bbbd741c2873ee90118264ae2d5bbd9ae3 [diff] |
batch: support quoted strings Support quoting strings with " or ' in an iproute2 batch file. Enables to configure empty crypto keys (for ESP-null) or keys with spaces: xfrm state add src 1.1.1.1 dst 2.2.2.2 proto ah spi 0x1 \ mode tunnel auth hmac(sha1) "r4ezR/@kd6'749f2 6zf$" xfrm state add src 5.5.5.5 dst 2.2.2.2 proto esp spi 0x2 \ mode tunnel enc cipher_null "" Signed-off-by: Christophe Gouault <christophe.gouault@6wind.com>