HomePhabricator

net: Have LookupNumeric return a CService directly

Description

net: Have LookupNumeric return a CService directly

Also fix up a few small issues:

  • Lookup with "badip:port" now sets the port to 0
  • Don't allow assert to have side-effects

Details

Provenance
Cory Fields <cory-nospam-@coryfields.com>Authored on Aug 4 2016, 20:37
deadalnixPushed on May 14 2017, 22:04
Parents
rABC21ba407a7369: net: narrow include scope after moving to netaddress
Branches
Unknown
Tags
Unknown

Event Timeline

Cory Fields <cory-nospam-@coryfields.com> committed rABC8945384bca00: net: Have LookupNumeric return a CService directly (authored by Cory Fields <cory-nospam-@coryfields.com>).Aug 4 2016, 20:41