Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
Fix for Bug 7016: error when there is no DNS setting
Browse files Browse the repository at this point in the history
  • Loading branch information
timf committed May 20, 2010
1 parent cb1f47b commit b912f8e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -324,8 +324,8 @@ private static Association getNewAssoc(String assocName,
if (oldassocEntries == null || oldassocEntries.isEmpty()) {
return assoc;
}
if (!assoc.getDns().equals(oldassoc.getDns())) {

if (assoc.getDns() != null && !assoc.getDns().equals(oldassoc.getDns())) {
logger.info("Network '" + assocName + "': DNS changed from " +
oldassoc.getDns() + " to " + assoc.getDns());
}
Expand Down

0 comments on commit b912f8e

Please sign in to comment.