Skip to content

Commit

Permalink
Fix merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
neoclust committed Dec 15, 2024
1 parent 2abfd4b commit b3049c3
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions pulse_xmpp_agent/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -1059,24 +1059,6 @@ def networkchanged():

return True

If the checked file does not exist or if the fingerprint have
changed we consider that the network changed.

A network change means that the interfaces changed ( new or deleted )

Returns:
True if we consider that the network changed
False if we consider that the network has not changed
"""
if networkinfoexist():
fingerprintnetwork = file_get_contents(
os.path.join(Setdirectorytempinfo(), "fingerprintnetwork")
)
newfingerprint = createfingerprintnetwork()
if fingerprintnetwork == newfingerprint:
return False
return True

def conffilename(agenttype):
"""
Expand Down

0 comments on commit b3049c3

Please sign in to comment.