summaryrefslogtreecommitdiffstats
path: root/vlan_interface.cpp
diff options
context:
space:
mode:
authorRatan K Gupta <ratagupt@linux.vnet.ibm.com>2018-09-15 00:49:51 -0400
committerRatan K Gupta <ratagupt@linux.vnet.ibm.com>2018-09-15 01:56:00 -0400
commit1a054aeab10d7cf32df704d256fa317fffa63026 (patch)
tree945004fd445c7de6e655fefa66b02ab11da0597b /vlan_interface.cpp
parent57d9c5066e2fc28d3e89b1bd9fd3ee98e27c4c48 (diff)
downloadphosphor-networkd-1a054aeab10d7cf32df704d256fa317fffa63026.tar.gz
phosphor-networkd-1a054aeab10d7cf32df704d256fa317fffa63026.zip
Fix formatting issues
Some of the formatting issues which brought by the earlier commit(clang-formatting) is fixed with this commit. Signed-off-by: Ratan K Gupta <ratagupt@linux.vnet.ibm.com>
Diffstat (limited to 'vlan_interface.cpp')
-rw-r--r--vlan_interface.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/vlan_interface.cpp b/vlan_interface.cpp
index 6ef1a0c..1b4eaee 100644
--- a/vlan_interface.cpp
+++ b/vlan_interface.cpp
@@ -56,14 +56,10 @@ void VlanInterface::writeDeviceFile()
elog<InternalFailure>();
}
- stream << "["
- << "NetDev"
- << "]\n";
+ stream << "[NetDev]\n";
stream << "Name=" << EthernetInterface::interfaceName() << "\n";
- stream << "Kind=vlan"
- << "\n";
- stream << "[VLAN]"
- << "\n";
+ stream << "Kind=vlan\n";
+ stream << "[VLAN]\n";
stream << "Id=" << id() << "\n";
stream.close();
}
OpenPOWER on IntegriCloud