summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 9e8850c..9d852fc 100644
--- a/README.md
+++ b/README.md
@@ -59,9 +59,9 @@ func main() {
// return a non-empty packet list even if there is an error. This is
// intended, because the transaction may fail at any point, and we
// still want to know what packets were exchanged until then.
- // The `nil` argument indicates that we want to use a default Solicit
- // packet, instead of specifying a custom one ourselves.
- conversation, err := client.Exchange("eth0", nil)
+ // A default Solicit packet will be used during the "conversation",
+ // which can be manipulated by using modifiers.
+ conversation, err := client.Exchange("eth0")
// Summary() prints a verbose representation of the exchanged packets.
for _, packet := range conversation {