_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 e549e95..5f70963 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