Skip to content

Commit 9258ea1

Browse files
committed
Fix line length
1 parent 005e64b commit 9258ea1

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/unix/solarish/mod.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,14 +1319,15 @@ pub const IFF_NOARP: ::c_int = 0x0000000080; // No address res. protocol
13191319
pub const IFF_PROMISC: ::c_int = 0x0000000100; // Receive all packets
13201320
pub const IFF_ALLMULTI: ::c_int = 0x0000000200; // Receive all multicast pkts
13211321
pub const IFF_INTELLIGENT: ::c_int = 0x0000000400; // Protocol code on board
1322-
pub const IFF_MULTICAST: ::c_int = 0x0000000800; // Supports multicast
1323-
// Multicast using broadcst. add.
1322+
// Supports multicast Multicast using broadcst. add.
1323+
pub const IFF_MULTICAST: ::c_int = 0x0000000800;
13241324
pub const IFF_MULTI_BCAST: ::c_int = 0x0000001000;
13251325
pub const IFF_UNNUMBERED: ::c_int = 0x0000002000; // Non-unique address
13261326
pub const IFF_DHCPRUNNING: ::c_int = 0x0000004000; // DHCP controls interface
13271327
pub const IFF_PRIVATE: ::c_int = 0x0000008000; // Do not advertise
1328-
pub const IFF_NOXMIT: ::c_int = 0x0000010000; // Do not transmit pkts
1329-
// No address - just on-link subnet
1328+
// Do not transmit pkts
1329+
// No address - just on-link subnet
1330+
pub const IFF_NOXMIT: ::c_int = 0x0000010000;
13301331
pub const IFF_NOLOCAL: ::c_int = 0x0000020000;
13311332
pub const IFF_DEPRECATED: ::c_int = 0x0000040000; // Address is deprecated
13321333
pub const IFF_ADDRCONF: ::c_int = 0x0000080000; // Addr. from stateless addrconf

src/unix/uclibc/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ pub const IFF_SLAVE: ::c_int = 0x800; // Slave of a load balancer.
749749
pub const IFF_MULTICAST: ::c_int = 0x1000; // Supports multicast.
750750
pub const IFF_PORTSEL: ::c_int = 0x2000; // Can set media type.
751751
pub const IFF_AUTOMEDIA: ::c_int = 0x4000; // Auto media select active.
752-
// Dialup device with changing addresses.
752+
// Dialup device with changing addresses.
753753
pub const IFF_DYNAMIC: ::c_int = 0x8000;
754754

755755
pub const SOL_IP: ::c_int = 0;

0 commit comments

Comments
 (0)