Skip to content

Commit

Permalink
Fixed deadlock in some situations when reload callbacks are called
Browse files Browse the repository at this point in the history
  • Loading branch information
sirtoobii committed Dec 20, 2022
1 parent 0cb9b54 commit 320085c
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .debian/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Package: wg-meta
Version: 0.3.2
Version: 0.3.3
Section: base
Priority: optional
Architecture: all
Maintainer: Tobias <[email protected]>
Homepage: https://github.com/sirtoobii/wg-meta
Depends: wireguard (>= 1.0.20200827-1~~), perl-base (>=5.22)
Depends: wireguard (>= 0.3.30200827-1~~), perl-base (>=5.22)
Recommends: bash
Description: An approach to add meta-data to the main Wireguard config
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.2
0.3.3
2 changes: 1 addition & 1 deletion bin/wg-meta
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ use experimental 'signatures';
use Wireguard::WGmeta::Cli::Router;
use Wireguard::WGmeta::Cli::TerminalHelpers;

our $VERSION = "0.3.2";
our $VERSION = "0.3.3";

local $SIG{__WARN__} = sub($message) {
prettify_message($message, 1);
Expand Down
2 changes: 1 addition & 1 deletion lib/Wireguard/WGmeta.pm
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ use strict;
use warnings FATAL => 'all';
package Wireguard::WGmeta;

our $VERSION = "0.3.2"; # Do not change manually
our $VERSION = "0.3.3"; # Do not change manually

1;
2 changes: 1 addition & 1 deletion lib/Wireguard/WGmeta/Cli/Router.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use Wireguard::WGmeta::Cli::Commands::Remove;
use base 'Exporter';
our @EXPORT = qw(route_command);

our $VERSION = "0.3.2";
our $VERSION = "0.3.3";

=head2 route_command($ref_list_input_args)
Expand Down
2 changes: 1 addition & 1 deletion lib/Wireguard/WGmeta/Parser/Conf.pm
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ use constant INTERNAL_KEY_PREFIX => 'int_';
use base 'Exporter';
our @EXPORT = qw(parse_raw_wg_config INTERNAL_KEY_PREFIX);

our $VERSION = "0.3.2";
our $VERSION = "0.3.3";

=head3 parse_raw_wg_config($file_content, $on_every_value, $on_new_section [, $skip, $wg_meta_prefix, $wg_disabled_prefix])
Expand Down
2 changes: 1 addition & 1 deletion lib/Wireguard/WGmeta/Parser/Middleware.pm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ use Wireguard::WGmeta::Utils;
use base 'Exporter';
our @EXPORT = qw(parse_wg_config2 create_wg_config2);

our $VERSION = "0.3.2";
our $VERSION = "0.3.3";

=head3 parse_wg_config2($config_file_content, $interface_name [, $wg_meta_prefix, $disabled_prefix, $use_checksum])
Expand Down
2 changes: 1 addition & 1 deletion lib/Wireguard/WGmeta/Parser/Show.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use experimental 'signatures';
use base 'Exporter';
our @EXPORT = qw(wg_show_dump_parser);

our $VERSION = "0.3.2"; # do not change manually, this variable is updated when calling make
our $VERSION = "0.3.3"; # do not change manually, this variable is updated when calling make


=head3 wg_show_dump_parser($input)
Expand Down
2 changes: 1 addition & 1 deletion lib/Wireguard/WGmeta/ValidAttributes.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use experimental 'signatures';

use Wireguard::WGmeta::Validator;

our $VERSION = "0.3.2";
our $VERSION = "0.3.3";

=head1 ATTRIBUTE TYPES
Expand Down
2 changes: 1 addition & 1 deletion lib/Wireguard/WGmeta/Wrapper/Config.pm
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ use Wireguard::WGmeta::ValidAttributes;
use Wireguard::WGmeta::Utils;
use Wireguard::WGmeta::Parser::Conf qw(INTERNAL_KEY_PREFIX);

our $VERSION = "0.3.2"; # do not change manually, this variable is updated when calling make
our $VERSION = "0.3.3"; # do not change manually, this variable is updated when calling make

use constant FALSE => 0;
use constant TRUE => 1;
Expand Down
2 changes: 1 addition & 1 deletion lib/Wireguard/WGmeta/Wrapper/ConfigT.pm
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ use constant FALSE => 0;
use constant TRUE => 1;
use constant INTEGRITY_HASH_SALT => 'wefnwioefh9032ur3';

our $VERSION = "0.3.2"; # do not change manually, this variable is updated when calling make
our $VERSION = "0.3.3"; # do not change manually, this variable is updated when calling make

=head3 is_valid_interface($interface)
Expand Down
2 changes: 1 addition & 1 deletion lib/Wireguard/WGmeta/Wrapper/Show.pm
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ use warnings FATAL => 'all';
use experimental 'signatures';


our $VERSION = "0.3.2";
our $VERSION = "0.3.3";

use constant FALSE => 0;
use constant TRUE => 1;
Expand Down

0 comments on commit 320085c

Please sign in to comment.