On Thu, 04 Sep 2014 13:50:51 +0200 "Muenz, Michael" <[email protected]> wrote:
> Am 03.09.2014 um 21:44 schrieb Paul Wouters: > > could you add -u -v and -e to the initscript and see if you can > > pinpoint the problem? Took me some time to find out what was the problem because this change was submitted by debian user. Some investigation revealed that we didn't commit exactly what was provided as a patch and the change we did was not working with mawk while it worked well with gawk. Can you test attached patch, I tested it with mawk and it works here. -- Tuomo Soini <[email protected]> Foobar Linux services +358 40 5240030 Foobar Oy <http://foobar.fi/>
commit 9182b43aaec12cf4e5aa0b5a7539fc87537c440d Author: Tuomo Soini <[email protected]> Date: Fri Sep 5 10:49:39 2014 +0300 _stackmanager: fix awk script to work with mawk Fixes commit c4c2025fa3af66dcf4e784ecf1b59e3c88d27cab which was not exactly what [email protected] provided on mailinglist. diff --git a/programs/_stackmanager/_stackmanager.in b/programs/_stackmanager/_stackmanager.in index 38a7985..b59ff4f 100644 --- a/programs/_stackmanager/_stackmanager.in +++ b/programs/_stackmanager/_stackmanager.in @@ -366,7 +366,7 @@ startklips() { cmd = "ip addr add" if ($1 == "inet") sub(" [^ ]+:[^ ]+"," ") - sub("secondary","","") + sub("secondary","",$0) sub("/.*","",$2) sub("dynamic","") for (i = 2; i < NF; i++) {
_______________________________________________ Swan mailing list [email protected] https://lists.libreswan.org/mailman/listinfo/swan
