Skip to content

Commit

Permalink
all: Fixed remaining issues after recent proofreading changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
levy committed May 14, 2024
1 parent e093ad9 commit 216ec2f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/inet/node/base/NodeBase.ned
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module NodeBase like INetworkNode
energyGenerator: <default("")> like IEnergyGenerator if typename != "" {
@display("p=125,560;is=s");
}
// TODO move mobility right after the status to have it in the same order as their positions, change fingerprints
// TODO move mobility right after the status to have it in the same order as their positions, it changes fingerprints
mobility: <default("")> like IMobility if typename != "" {
@display("p=125,160;is=s");
}
Expand Down
2 changes: 1 addition & 1 deletion src/inet/node/tsn/TsnSwitch.ned
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module TsnSwitch extends EthernetSwitch
bool hasIncomingStreams = default(false); // Enable IEEE 802.1 stream decoding
bool hasOutgoingStreams = default(false); // Enable IEEE 802.1 stream identification and stream encoding
bool hasFramePreemption = default(false); // Enable IEEE 802.1 Qbu frame preemption
bool hasGptp = default(hasTimeSynchronization); // Enable gPTP protocol
hasGptp = default(hasTimeSynchronization); // Enable gPTP protocol
gptp.gptpNodeType = default("BRIDGE_NODE"); // Configure gPTP bridge node type
gptp.slavePort = default("eth0"); // Configure default gPTP bridge slave port
clock.typename = default(hasTimeSynchronization ? "SettableClock" : ""); // Enable explicit local clock model when time synchronization is enabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ package inet.physicallayer.wireless.common.antenna;
import inet.physicallayer.wireless.common.base.packetlevel.AntennaBase;

// This antenna model computes the antenna gain from the direction using linear
// interpolation. The gain parameter contains a sequence of angles [degrees] and
// gains [dB] pairs. The first pair must be at 0 [degrees].
// interpolation. The gain parameter contains a sequence of angles [degree] and
// gains [dB] pairs. The first pair must be at 0 [degree].
//
module AxiallySymmetricAntenna extends AntennaBase
{
parameters:
double baseGain @unit(dB) = default(0dB);
string gains = default("0 0"); // Sequence of angles [degrees] in the range (0, 180) and gain [dB] pairs
string gains = default("0 0"); // Sequence of angles [degree] in the range (0, 180) and gain [dB] pairs
string axisOfSymmetry = default("x"); // Allows matching the antenna radiation pattern (IAntennaGain) to the visual representation, antenna orientation is determined by the antenna's mobility model
@class(AxiallySymmetricAntenna);
}
Expand Down
4 changes: 2 additions & 2 deletions src/inet/routing/ospfv2/Ospfv2ConfigReader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -458,8 +458,8 @@ void Ospfv2ConfigReader::loadAuthenticationConfig(Ospfv2Interface *intf, const c
std::string authenticationType = getStrAttrOrPar(ifConfig, "authenticationType");
if (authenticationType == "SimplePasswordType")
intf->setAuthenticationType(SIMPLE_PASSWORD_TYPE);
else if (authenticationType == "CrytographicType")
intf->setAuthenticationType(CRYTOGRAPHIC_TYPE);
else if (authenticationType == "CryptographicType")
intf->setAuthenticationType(CRYPTOGRAPHIC_TYPE);
else if (authenticationType == "NullType")
intf->setAuthenticationType(NULL_TYPE);
else
Expand Down
2 changes: 1 addition & 1 deletion src/inet/routing/ospfv2/router/Ospfv2Common.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ typedef unsigned long Metric;
enum AuthenticationType {
NULL_TYPE = 0,
SIMPLE_PASSWORD_TYPE = 1,
CRYTOGRAPHIC_TYPE = 2
CRYPTOGRAPHIC_TYPE = 2
};

struct AuthenticationKeyType
Expand Down

0 comments on commit 216ec2f

Please sign in to comment.