From e7286ea8f5b0e521131908cedeabc5873da2291e Mon Sep 17 00:00:00 2001 From: Zoltan Bojthe Date: Tue, 8 Feb 2022 13:49:52 +0100 Subject: [PATCH] NetworkHeaderBase: type fixed in @fromValue() --- src/inet/networklayer/contract/NetworkHeaderBase.msg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inet/networklayer/contract/NetworkHeaderBase.msg b/src/inet/networklayer/contract/NetworkHeaderBase.msg index 2c9d4930610..69055d236cc 100644 --- a/src/inet/networklayer/contract/NetworkHeaderBase.msg +++ b/src/inet/networklayer/contract/NetworkHeaderBase.msg @@ -52,8 +52,8 @@ class NetworkHeaderBase extends FieldsChunk { @existingClass; - L3Address sourceAddress @byValue @toValue(.str()) @fromValue(Ipv4Address($)); - L3Address destinationAddress @byValue @toValue(.str()) @fromValue(Ipv4Address($)); + L3Address sourceAddress @byValue @toValue(.str()) @fromValue(L3Address($)); + L3Address destinationAddress @byValue @toValue(.str()) @fromValue(L3Address($)); const Protocol *protocol; };