# HG changeset patch # User Mark Davies # Date 1587461649 -3600 # Node ID b1808edeb35d9268c77d3b197f7ff38a0cb62a08 # Parent 18acf515ec7c2ab9bd064e297b94536db5789152 hostname: Ensure it's not clobbered by SLAAC Because it cannot carry a hostname and user could be forcing it. diff -r 18acf515ec7c -r b1808edeb35d hooks/30-hostname.in --- a/hooks/30-hostname.in Tue Apr 21 10:32:00 2020 +0100 +++ b/hooks/30-hostname.in Tue Apr 21 10:34:09 2020 +0100 @@ -153,6 +153,6 @@ ;; esac -if $if_up; then +if $if_up && [ "$reason" != ROUTERADVERT ]; then set_hostname fi