dana-i2cat/opennaas — pull request #494 by isartcanyameres (2013-01-28 11:01:05+00:00)
Title: Fix/units suggestion repeats values

This patch adds a missing check for already suggested units.
This check causes units not to be repeated in same physical interface, even when the interface has no vlan.

This patch additionally creates following methods for not repeating code:
- markAsSuggestedUnit
- markAsSuggestedVlan
And calls them where required.