From 2b0a568ac71397fd246549964a19ab55a4234bfc Mon Sep 17 00:00:00 2001 From: FlaviusMazilu <maziluflavius@gmail.com> Date: Sat, 13 Apr 2024 11:44:14 +0300 Subject: [PATCH] fix wrong IP address of the server Signed-off-by: FlaviusMazilu <maziluflavius@gmail.com> --- lab7/Makefile | 2 +- lab7/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lab7/Makefile b/lab7/Makefile index 88b00b2..94b16e0 100644 --- a/lab7/Makefile +++ b/lab7/Makefile @@ -9,7 +9,7 @@ CFLAGS = -Wall -g -Werror -Wno-error=unused-variable PORT = 12345 # Adresa IP a serverului -IP_SERVER = 127.0.0.1 +IP_SERVER = 192.168.0.2 all: server client diff --git a/lab7/README.md b/lab7/README.md index 779890e..a39376f 100644 --- a/lab7/README.md +++ b/lab7/README.md @@ -84,6 +84,6 @@ sudo pkill ovs-test sudo python3 topo.py ``` -To start the `server`, in the `server` device, simply run `./server 192.168.0.1 [PORT]`. +To start the `server`, in the `server` device, simply run `./server 192.168.0.2 [PORT]`. -To start a client, in a `client#` device, simply run `./client 192.168.0.1 [PORT]`. +To start a client, in a `client#` device, simply run `./client 192.168.0.2 [PORT]`. -- GitLab