~harlowja/cloud-init/fix-auto-bool

Viewing all changes in revision 956.

  • Committer: Scott Moser
  • Date: 2014-02-26 18:14:55 UTC
  • Revision ID: smoser@ubuntu.com-20140226181455-qqt4w2p5ayrlho6q
netinfo.py: fix regression causing ubuntu to show 'addr:v.x.y.z'

after freebsd merge, ubuntu shows addr:v.x.y.z instead of v.x.y.z for the
ipv4 address.  This should fix that by just skipping the 'inet' (or inet6)
token if the next token starts with 'addr:'.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: