Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

More typos

  • Loading branch information...
commit b4dafcc1e79e9b69ae8211c9aea0ae4cc104f9b4 1 parent 4fa1071
Alexey Mahotkin authored May 04, 2009

Showing 1 changed file with 7 additions and 7 deletions. Show diff stats Hide diff stats

  1. 14  UserAuth.cpp
14  UserAuth.cpp
@@ -1504,7 +1504,7 @@ int UserAuth::createCcdFile(PluginContext *context)
1504 1504
 			if (this->framedip[0]!='\0')
1505 1505
 			{
1506 1506
 				if (DEBUG (context->getVerbosity()))
1507  
-					cerr << getTime() << "RADIUS-PLUGIN: BACKGORUND AUTH: Write framed ip to ccd-file.\n";
  1507
+					cerr << getTime() << "RADIUS-PLUGIN: BACKGROUND AUTH: Write framed ip to ccd-file.\n";
1508 1508
 			
1509 1509
 				//build the ifconfig
1510 1510
 				strncat(ipstring, "ifconfig-push ",14);
@@ -1516,14 +1516,14 @@ int UserAuth::createCcdFile(PluginContext *context)
1516 1516
 				{
1517 1517
 					strncat(ipstring, context->conf.getSubnet() , 15);
1518 1518
 					if (DEBUG (context->getVerbosity()))
1519  
-						cerr << getTime() << "RADIUS-PLUGIN: BACKGORUND AUTH: Create ifconfig-push for topology subnet.\n";
  1519
+						cerr << getTime() << "RADIUS-PLUGIN: BACKGROUND AUTH: Create ifconfig-push for topology subnet.\n";
1520 1520
 			
1521 1521
 				}
1522 1522
 				else if(context->conf.getP2p()[0]!='\0')
1523 1523
 				{
1524 1524
 					strncat(ipstring, context->conf.getP2p() , 15);
1525 1525
 					if (DEBUG (context->getVerbosity()))
1526  
-						cerr << getTime() << "RADIUS-PLUGIN: BACKGORUND AUTH: Create ifconfig-push for topology p2p.\n";
  1526
+						cerr << getTime() << "RADIUS-PLUGIN: BACKGROUND AUTH: Create ifconfig-push for topology p2p.\n";
1527 1527
 			
1528 1528
 				}
1529 1529
 				else
@@ -1543,7 +1543,7 @@ int UserAuth::createCcdFile(PluginContext *context)
1543 1543
 					// append the new ip address to the string
1544 1544
 					strncat(ipstring, inet_ntoa(ip3), 15);
1545 1545
 					if (DEBUG (context->getVerbosity()))
1546  
-						cerr << getTime() << "RADIUS-PLUGIN: BACKGORUND AUTH: Create ifconfig-push for topology net30.\n";
  1546
+						cerr << getTime() << "RADIUS-PLUGIN: BACKGROUND AUTH: Create ifconfig-push for topology net30.\n";
1547 1547
 			
1548 1548
 				}
1549 1549
 				if (DEBUG (context->getVerbosity()))
@@ -1557,13 +1557,13 @@ int UserAuth::createCcdFile(PluginContext *context)
1557 1557
 			if (framedroutes[0]!='\0')
1558 1558
 			{
1559 1559
 				if (DEBUG (context->getVerbosity()))
1560  
-					cerr << getTime() << "RADIUS-PLUGIN: BACKGORUND AUTH: Write framed routes to ccd-file.\n";
  1560
+					cerr << getTime() << "RADIUS-PLUGIN: BACKGROUND AUTH: Write framed routes to ccd-file.\n";
1561 1561
 			
1562 1562
 				route=strtok(framedroutes,";");
1563 1563
 				len=strlen(route);
1564  
-				if (len > 50) //this is to big!! but the length is variable
  1564
+				if (len > 50) //this is too big! but the length is variable
1565 1565
 				{
1566  
-					cerr << getTime() <<"RADIUS-PLUGIN: Argument for Framed Route is to long (>100 Characters).\n";
  1566
+					cerr << getTime() <<"RADIUS-PLUGIN: Argument for Framed Route is to long (>50 Characters).\n";
1567 1567
 					return 1;
1568 1568
 				}
1569 1569
 				else

0 notes on commit b4dafcc

Please sign in to comment.
Something went wrong with that request. Please try again.