]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
_updown: Remove printf calls for identities
authorTobias Brunner <tobias@strongswan.org>
Mon, 12 Mar 2018 09:20:42 +0000 (10:20 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 12 Apr 2018 13:17:24 +0000 (15:17 +0200)
This was apparently for compatibility with pluto, which escaped some
characters as octal values.

src/_updown/_updown.in

index e549e959757fd9ee31b8b477bafe363f80bc7624..5f709637e9ef9a251eeef97e737b726551fb9236 100644 (file)
@@ -215,10 +215,6 @@ then
        fi
 fi
 
-# resolve octal escape sequences
-PLUTO_MY_ID=`printf "$PLUTO_MY_ID"`
-PLUTO_PEER_ID=`printf "$PLUTO_PEER_ID"`
-
 case "$PLUTO_VERB:$1" in
 up-host:)
        # connection to me coming up