mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Some perfectionizm against last revision.
Submitted by: ru
This commit is contained in:
parent
a6dd1c93f4
commit
f366efa96f
2 changed files with 4 additions and 4 deletions
|
|
@ -236,8 +236,8 @@ ngctl msg fxp0:orphans pppoe_setmode '"3Com"'
|
|||
.Ed
|
||||
.It Dv NGM_PPPOE_SETENADDR
|
||||
Set the node Ethernet address for outgoing datagrams.
|
||||
This message is important when node failed to obtain Ethernet address
|
||||
from peer on
|
||||
This message is important when a node has failed to obtain an Ethernet
|
||||
address from its peer on the
|
||||
.Dv ethernet
|
||||
hook, or when user wants to override this address with another one.
|
||||
.Tn ASCII
|
||||
|
|
|
|||
|
|
@ -693,7 +693,7 @@ ng_pppoe_connect(hook_p hook)
|
|||
{
|
||||
const priv_p privp = NG_NODE_PRIVATE(NG_HOOK_NODE(hook));
|
||||
struct ng_mesg *msg;
|
||||
int error = 0;
|
||||
int error;
|
||||
|
||||
if (hook != privp->ethernet_hook)
|
||||
return (0);
|
||||
|
|
@ -1023,7 +1023,7 @@ ng_pppoe_rcvmsg(node_p node, item_p item, hook_p lasthook)
|
|||
ETHER_ADDR_LEN);
|
||||
break;
|
||||
default:
|
||||
error = EINVAL;
|
||||
LEAVE(EINVAL);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in a new issue