ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 5650] add custom Destination IP and Source IP in the pcap

Date: Thu, 3 Feb 2011 14:43:15 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5650

--- Comment #2 from Jaap Keuter <jaap.keuter@xxxxxxxxx> 2011-02-03 23:43:15 CET ---
Can't this be done with inet_pton()?

+            "  -p <srcip>,<destip>    prepend dummy IP header with
specified\n"
+            "                         dest and source address.\n"
+            "                         Automatically prepends Ethernet & IP
headers as well.\n"
+            "                         Example: -p 10.0.0.1,10.0.0.2\n"

(PS: your example line is off)

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.