From 9c5438da65bba198bba2a2a127f3f6448dcb56c5 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 03 May 2026 14:12:59 +0000
Subject: [PATCH] NetworkDriver: fix return type annotation in create_interface

---
 README.md |   24 +++++++++++++++---------
 1 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/README.md b/README.md
index dce319d..aa1a02a 100644
--- a/README.md
+++ b/README.md
@@ -57,6 +57,20 @@
 
 Disable assignment of IPv6 gateway IP.
 
+`gw4=IP`
+
+`gw6=IP`
+
+Forces assignment of a specified gateway (only if one is not provided by the IPAM module)
+when creating the interface. Useful for [pyipam](https://github.com/jacekkow/docker-plugin-pyipam)
+with `ptp=1` option and `nogw=1`/`nogw4=1`/`nogw6=1` here.
+
+Using these would add routes like:
+```
+default via IP dev eth0
+IP dev eth0 scope link
+```
+
 ## Container creation options
 
 To use these options add `--network name=network_name,driver-opt=option=value,driver-opt=option=value`
@@ -72,15 +86,7 @@
 
 `gw6=IP`
 
-Forces assignment of a specified gateway (if one is not provided by the IPAM)
-when creating the interface. Useful for [pyipam](https://github.com/jacekkow/docker-plugin-pyipam)
-with "ptp=1,nogw=1" options.
-
-Using these would add routes:
-```
-default via IP dev eth0
-IP dev eth0 scope link
-```
+Overrides network-level gw4/gw6 options.
 
 ## Manual packaging
 

--
Gitblit v1.10.0