Ticket #71 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

When host doesn't have any NIC interfaces, it should return 127.0.0.1 instead of error

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-0.5.10
Component: pjlib Version: 0.5.9
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

The primary host IP is resolved by detecting the default interface. Unfortunately when no NIC is present in the host, the pj_gethostip() function will return error while it really should return 127.0.0.1.

Change History

comment:1 Changed 12 years ago by bennylp

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r885.

Note: See TracTickets for help on using tickets.