diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-11-15 14:12:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-15 14:12:09 +0100 |
commit | 6d90375db4dd0c9beb2815e8ceae2d6214465f99 (patch) | |
tree | 050292e6ba92248a02948c430ec5da778e90833d /src/etc/dhcp/dhclient-exit-hooks.d/vyatta-dhclient-hook | |
parent | b3e524c29e9f5c8e7536ba86de9097be70fe5fb6 (diff) | |
parent | ff901a52bb9acd4bdd0e3a96033c896e4667a6af (diff) | |
download | vyos-1x-6d90375db4dd0c9beb2815e8ceae2d6214465f99.tar.gz vyos-1x-6d90375db4dd0c9beb2815e8ceae2d6214465f99.zip |
Merge pull request #1659 from vfreex/fix-ns-config-equuleus
backport: T4815: Fix various name server config issues
Diffstat (limited to 'src/etc/dhcp/dhclient-exit-hooks.d/vyatta-dhclient-hook')
-rw-r--r-- | src/etc/dhcp/dhclient-exit-hooks.d/vyatta-dhclient-hook | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etc/dhcp/dhclient-exit-hooks.d/vyatta-dhclient-hook b/src/etc/dhcp/dhclient-exit-hooks.d/vyatta-dhclient-hook index eeb8b0782..49bb18372 100644 --- a/src/etc/dhcp/dhclient-exit-hooks.d/vyatta-dhclient-hook +++ b/src/etc/dhcp/dhclient-exit-hooks.d/vyatta-dhclient-hook @@ -8,12 +8,12 @@ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. -# +# # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. -# +# # This code was originally developed by Vyatta, Inc. # Portions created by Vyatta are Copyright (C) 2006, 2007, 2008 Vyatta, Inc. # All Rights Reserved. @@ -23,7 +23,7 @@ RUN="yes" proto="" -if [[ $reason =~ (REBOOT6|INIT6|EXPIRE6|RELEASE6|STOP6|INFORM6|BOUND6|REBIND6|DELEGATED6) ]]; then +if [[ $reason =~ ^(REBOOT6|INIT6|EXPIRE6|RELEASE6|STOP6|INFORM6|BOUND6|REBIND6|DELEGATED6)$ ]]; then proto="v6" fi |