aboutsummaryrefslogtreecommitdiff
path: root/examples/std/tap.sh
diff options
context:
space:
mode:
authorjubeormk1 <[email protected]>2025-05-22 15:41:43 +1000
committerjubeormk1 <[email protected]>2025-05-22 15:41:43 +1000
commit43ff562b5a0327d575d2c02f299ad6d15680384e (patch)
treec079f6e7e9395353286ee9ff19a9c6965b173792 /examples/std/tap.sh
parent9409afb02e7fd46d0c3b2257a938a8bc88244f5b (diff)
Adjustments for std examples
I extended the README.md file to extend instructions for the rest of network examples I modified the tap.sh script to give ownership to the user running it and avoiding running the examples with sudo. This would help someone using a debuger.
Diffstat (limited to 'examples/std/tap.sh')
-rw-r--r--examples/std/tap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/std/tap.sh b/examples/std/tap.sh
index 39d92a099..fb89d2381 100644
--- a/examples/std/tap.sh
+++ b/examples/std/tap.sh
@@ -1,4 +1,4 @@
1ip tuntap add name tap99 mode tap user $USER 1ip tuntap add name tap99 mode tap user $SUDO_USER
2ip link set tap99 up 2ip link set tap99 up
3ip addr add 192.168.69.100/24 dev tap99 3ip addr add 192.168.69.100/24 dev tap99
4ip -6 addr add fe80::100/64 dev tap99 4ip -6 addr add fe80::100/64 dev tap99