Opened 8 years ago

Closed 8 years ago

#1908 closed defect (fixed)

Need to bind v6 socket to local address to enable perfdhcp work

Reported by: marcin Owned by: marcin
Priority: medium Milestone: Sprint-DHCP-20120402
Component: perfdhcp Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

The getsock6 function does not bind socket to local adress and thus all replies from the server are dropped in Perfdhcp. This results in inability to get performance stats for v6.

We need to add bind call in getsock6 just like it is done in getsock4.

Subtickets

Change History (4)

comment:1 Changed 8 years ago by marcin

  • Status changed from new to assigned

comment:2 Changed 8 years ago by marcin

  • Owner changed from marcin to UnAssigned
  • Status changed from assigned to reviewing

comment:3 Changed 8 years ago by stephen

  • Owner changed from UnAssigned to marcin

Looks OK, please merge.

This probably needs a ChangeLog entry, something like:

xxx.    [bug]           marcin
        perfdhcp: bind to local address to allow reception of replies from IPv6
        DHCP servers.
        (Trac #1908, git f83c81a742313fca3ef0b8a87f812ceb5847bc8c)

comment:4 Changed 8 years ago by marcin

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

Changes merged to master branch and change log updated accordingly.

Note: See TracTickets for help on using tickets.