summaryrefslogtreecommitdiff
path: root/ipif/service-wrap
diff options
context:
space:
mode:
Diffstat (limited to 'ipif/service-wrap')
-rwxr-xr-xipif/service-wrap3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipif/service-wrap b/ipif/service-wrap
index 2916750..7f6dad4 100755
--- a/ipif/service-wrap
+++ b/ipif/service-wrap
@@ -103,7 +103,8 @@ our @rnets = ($rnets eq '-' ? () : split /\,/, $rnets);
sub execreal ($) {
my ($use_v0config) = @_;
exec $realservice, $use_v0config, '--',
- "$local_addr,$peer_addr,$mtu,$protocol",
+ (join ',', $local_addr->addr, $peer_addr->addr,
+ $mtu, $protocol, $ifname),
@rnets ? (join ",", map { "$_" } @rnets) : "-"
or die "exec $realservice: $!\n";
}