ppp: comment fix
authorKristen Carlson Accardi <kristen@linux.intel.com>
Sat, 27 Mar 2010 01:34:27 +0000 (18:34 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 27 Mar 2010 02:19:46 +0000 (19:19 -0700)
Put some additional clarification in comment for receiving Code-Reject
and Protocol-Reject packets.

gatchat/ppp_cp.c

index 39e872b..f83cfba 100644 (file)
@@ -1401,6 +1401,10 @@ static guint8 pppcp_process_code_reject(struct pppcp_data *data,
         * determine if the code reject is catastrophic or not.
         * return RXJ_PLUS if this reject is acceptable, RXJ_MINUS if
         * it is catastrophic.
+        *
+        * for now we always return RXJ_MINUS.  Any code
+        * reject will be catastrophic, since we only support the
+        * bare minimum number of codes necessary to function.
         */
        return RXJ_MINUS;
 }
@@ -1412,6 +1416,10 @@ static guint8 pppcp_process_protocol_reject(struct pppcp_data *data,
         * determine if the protocol reject is catastrophic or not.
         * return RXJ_PLUS if this reject is acceptable, RXJ_MINUS if
         * it is catastrophic.
+        *
+        * for now we always return RXJ_MINUS.  Any protocol
+        * reject will be catastrophic, since we only support the
+        * bare minimum number of protocols necessary to function.
         */
        return RXJ_MINUS;
 }