Bug 76702 - nsping breaks when executed with pid > 65536
Summary: nsping breaks when executed with pid > 65536
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Peter Pentchev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-26 09:30 UTC by Vladimir Kotal
Modified: 2005-07-04 12:19 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kotal 2005-01-26 09:30:18 UTC
      There is a bug in nsping source which presumes that pid numbers cannot be bigger than 65536. On systems where nsping is started with pid bigger than that, nsping cannot work, since it sets ID of DNS query packet to pid value of nsping process.                                                        
                                                                                
Patch which corrects this problem is included. (already contains patch-ab from nsping port)

Fix: 

apply the patch:

http://techie.devnull.cz/public/nsping.c.patch
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-01-26 12:37:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->roam

Over to maintainer.
Comment 2 Peter Pentchev freebsd_committer freebsd_triage 2005-07-04 12:18:56 UTC
State Changed
From-To: open->closed

Fix committed, thanks!